You can use /etc/make.conf to control the options used to compile software on this system. Example entries are in /usr/share/examples/etc/defaults/make.conf.