Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 2010 17:51:10 +0100
From:      RW <rwmaillists@googlemail.com>
To:        ports@freebsd.org
Subject:   Re: flag to tell ports that you are only building for yourself
Message-ID:  <20100628175110.72c64782@gumby.homeunix.com>
In-Reply-To: <AANLkTimVsVusLDbfQxUegnSMVsWdw7KL_jOpkgT7SG0e@mail.gmail.com>
References:  <AANLkTimVsVusLDbfQxUegnSMVsWdw7KL_jOpkgT7SG0e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 27 Jun 2010 23:09:47 -0400
Eitan Adler <lists@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100628175110.72c64782>