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

Alan Modra alan@linuxcare.com.au
Tue Apr 4 18:32:00 GMT 2000


On 4 Apr 2000, Ian Lance Taylor wrote:

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

While you're at it Andrew, it would be nice if WARN_CFLAGS included
-Wno-format when compiling with nls enabled (but not with nls
disabled).  With --enable-nls, real warnings are hidden amongst reams of
"warning: format not a string literal, argument types not checked" if you
are using a recent gcc.

I've been meaning for ages to add a little configure magic to do this...

-- 
Linuxcare.  Support for the Revolution.



More information about the Newlib mailing list