This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: RFC src/configure* - "CFLAGS=-g -O" instead of "CFLAGS=... -Wall"
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: RFC src/configure* - "CFLAGS=-g -O" instead of "CFLAGS=... -Wall"
- From: Michael Meissner <meissner at cygnus dot com>
- Date: Tue, 4 Apr 2000 21:03:15 -0400
- Cc: BINUTILS Patches <binutils at sourceware dot cygnus dot com>, GDB Patches <gdb-patches at sourceware dot cygnus dot com>, newlib at sourceware dot cygnus dot com
- References: <38EA8086.344CD42A@cygnus.com>
On Wed, Apr 05, 2000 at 09:53:42AM +1000, Andrew Cagney wrote:
> Hello,
>
> At present the top level configure + Makefile.in force (when GCC) CFLAGS
> to:
>
> CFLAGS = -g -O -Wall
>
> I'd like to scale that back to just:
>
> CFLAGS = -g -O
>
> letting each sub directory set their own -W* policy. The src/gdb and
> src/sim directories try to do this now using separate WARN_CFLAGS (only
> they get overuled by CFLAGS :-).
Umm, the optimization level by default is -O2, not -O.
--
Michael Meissner, Cygnus Solutions, a Red Hat company.
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: meissner@redhat.com phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org fax: +1 978-692-4482