From owner-freebsd-current@FreeBSD.ORG Tue Jul 5 15:56:18 2005 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5986716A41C for ; Tue, 5 Jul 2005 15:56:18 +0000 (GMT) (envelope-from poncki.lists@axelspringer.com.pl) Received: from mx1.axelspringer.com.pl (pigeon.axelspringer.com.pl [195.177.210.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 095AC43D4C for ; Tue, 5 Jul 2005 15:56:13 +0000 (GMT) (envelope-from poncki.lists@axelspringer.com.pl) Received: from content-filter.axelspringer.com.pl (localhost [127.0.0.1]) by mx1-incoming-content-filter.axelspringer.com.pl (Postfix) with ESMTP id B3C7826089 for ; Tue, 5 Jul 2005 17:56:07 +0200 (CEST) Received: from mx1-outgoing-content-filter.axelspringer.com.pl ([127.0.0.1]) by content-filter.axelspringer.com.pl (content-filter.axelspringer.com.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 63931-01-2 for ; Tue, 5 Jul 2005 17:56:05 +0200 (CEST) Received: from xponcki.lan (xponcki.lan [192.168.0.230]) by mx1.axelspringer.com.pl (Postfix) with ESMTP id B9DAB26093 for ; Tue, 5 Jul 2005 17:56:05 +0200 (CEST) Date: Tue, 5 Jul 2005 17:58:06 +0200 From: Tomasz Pilat X-Mailer: The Bat! Professional (v3.0.2.10) Organization: http://poncki.freebsd.pl/ X-Priority: 3 (Normal) Message-ID: <34471775.20050705175806@axelspringer.com.pl> To: current@FreeBSD.org In-Reply-To: <42C805F2.4060103@udor.net> References: <20041102222000.GA65845@xor.obsecurity.org> <42C76DF0.8070307@magnesium.net> <20050703055842.GA1933@xor.obsecurity.org> <42C805F2.4060103@udor.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-and-Spam-Scanned: amavisd-new-2.3.1 (20050509) + SpamAssassin + Kaspersky Anti-Virus for FreeBSD @ axelspringer.com.pl Cc: Subject: Re: HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tomasz Pilat List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 15:56:18 -0000 Jon, Sunday, July 3, 2005, 5:36:18 PM, you wrote: >>>>Therefore, if you compile ports on FreeBSD 6.0, you should set >>>>CFLAGS=-O -pipe in your /etc/make.conf for now, until we can resolve >>>>this problem more satisfactorily. > Does it make sense to introduce a CFLAGS_PORTS option? Basically an > override used when compiling ports as opposed to world? 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 Ponc -- Tomasz Pilat 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?