This is the mail archive of the
newlib@sourceware.cygnus.com
mailing list for the newlib project.
RFC src/configure* - "CFLAGS=-g -O" instead of "CFLAGS=... -Wall"
- To: 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
- Subject: RFC src/configure* - "CFLAGS=-g -O" instead of "CFLAGS=... -Wall"
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 05 Apr 2000 09:53:42 +1000
- Organization: Cygnus Solutions
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 :-).
enjoy,
Andrew