RFC src/configure* - "CFLAGS=-g -O" instead of "CFLAGS=... -Wall"
Michael Meissner
meissner@cygnus.com
Tue Apr 4 18:03:00 GMT 2000
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
More information about the Newlib
mailing list