Officials said the man did not appear to be targeting Trump or others involved in the trial
The issue of the referendum has already badly strained relations between Turkey and several European countries, including Germany and the Netherlands, after they banned Turkish ministers from campaigning in their cities ahead of the April 16 referendum.
Yildirim made the comments at a referendum rally in the southern Anatolian province of Karaman.