From owner-freebsd-ports@FreeBSD.ORG Fri Sep 10 11:09:41 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE8B216A4CE for ; Fri, 10 Sep 2004 11:09:41 +0000 (GMT) Received: from mail.dt.e-technik.uni-dortmund.de (mail.dt.e-technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEF6843D3F for ; Fri, 10 Sep 2004 11:09:40 +0000 (GMT) (envelope-from ma@dt.e-technik.uni-dortmund.de) Received: from localhost (localhost [127.0.0.1])2E2DC3D00C; Fri, 10 Sep 2004 13:09:40 +0200 (CEST) Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16896-04; Fri, 10 Sep 2004 13:09:40 +0200 (CEST) Received: from m2a2.dyndns.org (p508EF060.dip.t-dialin.net [80.142.240.96]) D40F13CF2B; Fri, 10 Sep 2004 13:09:39 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id 03960D274F; Fri, 10 Sep 2004 13:09:39 +0200 (CEST) Received: from merlin.emma.line.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15298-03; Fri, 10 Sep 2004 13:09:38 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id A6C78D2727; Fri, 10 Sep 2004 13:09:38 +0200 (CEST) To: Michael Nottebrock In-Reply-To: <200409081809.04661.michaelnottebrock@gmx.net> (Michael Nottebrock's message of "Wed, 8 Sep 2004 18:09:03 +0200") References: <200409081809.04661.michaelnottebrock@gmx.net> From: Matthias Andree Date: Fri, 10 Sep 2004 13:09:38 +0200 Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at dt.e-technik.uni-dortmund.de cc: John Polstra cc: Matthias Andree cc: freebsd-ports@freebsd.org cc: Oliver Eikemeier Subject: Re: Best way to override user's CFLAGS in a port? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2004 11:09:41 -0000 Michael Nottebrock writes: > If it's so well known that -O higher than 1 will not work, the > upstream source should be modified to that -O will be appended to any > CFLAGS, thus overriding any user-specified optimization setting. Indeed, Horio and you are right, hadn't thought of the obvious way :) -- Matthias Andree Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)