RFC src/configure* - "CFLAGS=-g -O" instead of "CFLAGS=... -Wall"
Ian Lance Taylor
Tue Apr 4 17:04:00 GMT 2000
Date: Wed, 05 Apr 2000 09:53:42 +1000
From: Andrew Cagney <email@example.com>
At present the top level configure + Makefile.in force (when GCC) CFLAGS
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 :-).
That was a policy I put in for the binutils. It's OK with me to
change it provided you simultaneously change the binutils
subdirectories (binutils, bfd, libiberty, opcodes, binutils, gas, ld,
gprof) to default to -Wall.
More information about the Newlib