From owner-freebsd-current@FreeBSD.ORG Tue Jul 5 16:14:17 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 4816E16A41C for ; Tue, 5 Jul 2005 16:14:17 +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 ED92643D45 for ; Tue, 5 Jul 2005 16:14:16 +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 E968025DAF for ; Tue, 5 Jul 2005 18:14:15 +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-03-35 for ; Tue, 5 Jul 2005 18:14:14 +0200 (CEST) Received: from xponcki.lan (xponcki.lan [192.168.0.230]) by mx1.axelspringer.com.pl (Postfix) with ESMTP id 2FCFF25DA2 for ; Tue, 5 Jul 2005 18:14:14 +0200 (CEST) Date: Tue, 5 Jul 2005 18:16:15 +0200 From: Tomasz Pilat X-Mailer: The Bat! Professional (v3.0.2.10) Organization: http://poncki.freebsd.pl/ X-Priority: 3 (Normal) Message-ID: <698350263.20050705181615@axelspringer.com.pl> To: current@FreeBSD.org 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> MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1250 Content-Transfer-Encoding: 8bit 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 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 16:14:17 -0000 > 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?