Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jul 2005 18:16:31 +0200
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Tomasz Pilat <poncki.lists@axelspringer.com.pl>
Cc:        current@FreeBSD.org
Subject:   Re: HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0
Message-ID:  <1120580191.97831.6.camel@hood.oook.cz>
In-Reply-To: <698350263.20050705181615@axelspringer.com.pl>
References:  <20041102222000.GA65845@xor.obsecurity.org> <42C76DF0.8070307@magnesium.net> <20050703055842.GA1933@xor.obsecurity.org> <42C805F2.4060103@udor.net> <34471775.20050705175806@axelspringer.com.pl> <698350263.20050705181615@axelspringer.com.pl>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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@oook.cz>
              <pav@FreeBSD.org>

The Phase Spider. A spider that never seems quite there.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQBCyrJfntdYP8FOsoIRArvtAJ4vRIiSzXQYm94Bw8+yhha3mk/TnACfZUb3
RHmWZVigjyd8QNUP2CSpdss=
=xGtW
-----END PGP SIGNATURE-----
help

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