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

From: Ulrich Spoerlein <spoerlein_at_informatik.uni-wuerzburg.de>
Date: Wed, 6 Jul 2005 09:32:05 +0200
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?

Received on Wed Jul 06 2005 - 05:32:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:38 UTC