Patch to remove warning flags from non-GCC compilers.

Alan Modra amodra@bigpond.net.au
Sat Nov 5 12:19:00 GMT 2005


On Fri, Nov 04, 2005 at 11:15:57AM -0800, Steve Ellcey wrote:
> Here is a new version of my patch.  WARN_CFLAGS is set to the empty
> string by default if you have a non-GCC compiler but if you use
> "--enable-build-warnings" you get the GCC standard warning flags.  If
> you use --enable-build-warnings="-foobar" then you get WARN_CFLAGS set
> to -foobar (regardless of what your compiler is).

This is a much more reasonable patch.  I think it's OK to apply.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list