HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0
Pav Lucistnik
pav at FreeBSD.org
Tue Jul 5 16:16:41 GMT 2005
Tomasz Pilat píše v út 05. 07. 2005 v 18:16 +0200:
> > Just add something like this to your /etc/make.conf:
>
> > .if ${.CURDIR} == "/usr/ports"
> > CFLAGS= -O -pipe
> > .elif ${.CURDIR} == "/usr/src"
> > CFLAGS= -O2 -pipe
> > .else
> > CFLAGS= -O3 -pipe
> > .endif
>
> Grrr, need some coffee or sleep... ;~)
>
> .if ${.CURDIR} == "/usr/src"
> CFLAGS= -O2 -pipe
> .else
> CFLAGS= -O -pipe
> .endif
This is so wrong on so many levels. Avoid.
--
Pav Lucistnik <pav at oook.cz>
<pav at FreeBSD.org>
The Phase Spider. A spider that never seems quite there.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050705/2c32762c/attachment.bin
More information about the freebsd-current
mailing list