This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RFC src/configure* - "CFLAGS=-g -O" instead of "CFLAGS=... -Wall"


   Date: Wed, 05 Apr 2000 10:43:01 +1000
   From: Andrew Cagney <ac131313@cygnus.com>

   > 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.

   How exactly do you want this done?  If I add:

	   CFLAGS=-g -O -Wall

   to the sub directory makefiles, that will just get overridden by the top
   level (just like GDB suffers today).

I don't particularly care.  I just know that I don't want to lose the
default behaviour for the binutils.

What behaviour do you want for gdb?

One way to make this work would be to define WARN_CFLAGS, or something
like that, in the top level Makefile.in, and use it in some
subdirectories but not others.

Ian

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]