HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0

Ulrich Spoerlein spoerlein at informatik.uni-wuerzburg.de
Wed Jul 6 07:32:10 GMT 2005


On Wed, 06.07.2005 at 00:24:12 +0200, Jeremie Le Hen wrote:
> > Does it make sense to introduce a CFLAGS_PORTS option? Basically an 
> > override used when compiling ports as opposed to world?
> 
> I would vote for it.  I'm working on integrating ProPolice on the base
> system, and it would be worth to have the ability to compile either
> base system or ports without stack protection, for instance.
> Furthermore this is not a great change in the makefiles, rather
> something invisible for those who don't want to use it, and pretty handy
> for those who might need it.

Whats wrong with

.if ${.CURDIR:M/usr/ports*}
CFLAGS= -O -pipe -foo
.endif

in /etc/make.conf?

Ulrich Spoerlein
-- 
 PGP Key ID: F0DB9F44				Encrypted mail welcome!
Fingerprint: F1CE D062 0CA9 ADE3 349B  2FE8 980A C6B5 F0DB 9F44
Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."
didn't you understand?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050706/0169fe98/attachment.bin


More information about the freebsd-current mailing list