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

From: Pav Lucistnik <pav_at_FreeBSD.org>
Date: Tue, 05 Jul 2005 18:16:31 +0200
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.

Received on Tue Jul 05 2005 - 14:16:41 UTC

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