Date: Tue, 5 Jul 2005 18:16:15 +0200 From: Tomasz Pilat <poncki.lists@axelspringer.com.pl> To: current@FreeBSD.org Subject: Re: HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0 Message-ID: <698350263.20050705181615@axelspringer.com.pl> In-Reply-To: <34471775.20050705175806@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>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 Ponc -- Tomasz Piłat http://poncki.freebsd.pl./ AXEL SPRINGER POLSKA Sp. z o.o. PONC-RIPE | PGPKEY-EDEB47FC A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on e-mail/Usenet?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?698350263.20050705181615>