CFLAGS
there. But I'm not sure this is the greatest idea ...Optimzation for specific CPU, just like what JIT does. Why not the greatest idea? What is the greatest one?See make.conf(5), just setCFLAGS
there. But I'm not sure this is the greatest idea ...
Speed benefits are minimal (at least in the x86 family) but you can't ever use your compiled binaries on a different machine. Even worse, some software has very subtle bugs that are only "discovered" by optimizing -- you might just break your system.Why not the greatest idea?
/usr/share/examples/etc/make.conf
/etc/make.conf
CPUTYPE?=nehalem
MAKE_JOBS_NUMBER=4