flag to tell ports that you are only building for yourself
RW
rwmaillists at googlemail.com
Mon Jun 28 16:51:22 UTC 2010
On Sun, 27 Jun 2010 23:09:47 -0400
Eitan Adler <lists at eitanadler.com> wrote:
> I'd like to add a flag to tell ports that you are building only for
> yourself that and optimizations that typically are not enabled could
> be turned on.
You can do this yourself. If you add in make.conf something like
.if defined(BUILD_FOR_SELF)
CPUTYPE?= athlon64
.endif
# cd /ports/www/squid
# make -V CFLAGS
-O2 -pipe -fno-strict-aliasing
# setenv BUILD_FOR_SELF yes
# make -V CFLAGS
-O2 -pipe -march=athlon-mp -fno-strict-aliasing
More information about the freebsd-ports
mailing list