From owner-freebsd-ports Tue Aug 20 8:30:54 2002 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 7DAAB37B400 for ; Tue, 20 Aug 2002 08:30:51 -0700 (PDT) Received: from mail.inka.de (quechua.inka.de [212.227.14.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A0EE43E42 for ; Tue, 20 Aug 2002 08:30:50 -0700 (PDT) (envelope-from mailnull@mips.inka.de) Received: from kemoauc.mips.inka.de (uucp@) by mail.inka.de with local-bsmtp id 17hAy0-0007S0-01; Tue, 20 Aug 2002 17:30:48 +0200 Received: from kemoauc.mips.inka.de (localhost [127.0.0.1]) by kemoauc.mips.inka.de (8.12.5/8.12.5) with ESMTP id g7KEtedO084717 for ; Tue, 20 Aug 2002 16:55:40 +0200 (CEST) (envelope-from mailnull@localhost.mips.inka.de) Received: (from mailnull@localhost) by kemoauc.mips.inka.de (8.12.5/8.12.5/Submit) id g7KEteLx084711 for freebsd-ports@freebsd.org; Tue, 20 Aug 2002 16:55:40 +0200 (CEST) From: naddy@mips.inka.de (Christian Weisgerber) Subject: Re: ports/41710: [port] lame update (fix CFLAGS) Date: Tue, 20 Aug 2002 14:55:39 +0000 (UTC) Message-ID: References: <200208161640.g7GGe3Dh028390@freefall.freebsd.org> <20020816191056.0a9a3b2c.Alexander@Leidinger.net> <20020818142310.7245a08b.Alexander@Leidinger.net> Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Alexander Leidinger wrote: > I just want to know a showstopper argument: why do we need to remove > "-pipe" and "-Wall"? User's choice. This isn't as much a showstopper as a matter of convention. I certainly don't bother to remove the addition of such flags in ports unless they happen to be in the immediate vicinity of -Ox overrides or things that need fixing. > Depending on your answer I may want to change it in the LAME CVS. *Shrug* The rules for ports that use autoconf are pretty clear. If the user specifies CFLAGS (CXXFLAGS, CPPFLAGS) at build time, use those. If not, build with an autoconf-provided default (-O2 -g). > > cc1: warning: > > *** > > *** The -O3 flag TRIGGERS KNOWN OPTIMIZER BUGS ON THIS PLATFORM > > *** > > For which versions of gcc is this the case? I want to add a workaround > to configure. This is a FreeBSD-specific addition to--I guess--all versions of gcc we ship. Note that it is only a warning, so you can choose to ignore it. Just how warranted that warning is in the first place, is a can of worms I don't want to open here. -- Christian "naddy" Weisgerber naddy@mips.inka.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message