diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-04-09 12:17:43 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-04-09 12:17:43 +0000 |
commit | a2d91340f322fed39bdaf02391b8be01dffb7869 (patch) | |
tree | 34d42b74b6691f2cbaaf2381ea147aef4fbb36e1 /ld/Makefile.am | |
parent | d8e7020fd6fadafc86faf10ebe241fcf38927815 (diff) | |
download | binutils-gdb-a2d91340f322fed39bdaf02391b8be01dffb7869.tar.gz |
Remove ``-W -Wall'' from top-level Makefile/configure.
Add ``-W -Wall'' to sub-directories bfd, binutils, gas gprof, ld and
opcodes by the addition of WARN_CFLAGS to Makefile.am and configury to
set it. Add configure option --enable-build-warnings.
Re-generate all and sundry using auto*-000227.
Diffstat (limited to 'ld/Makefile.am')
-rw-r--r-- | ld/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/Makefile.am b/ld/Makefile.am index a0eb12578bc..0ed8d22201f 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -13,6 +13,9 @@ YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bis YFLAGS = -d LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi` +WARN_CFLAGS = @WARN_CFLAGS@ +AM_CFLAGS = $(WARN_CFLAGS) + # We put the scripts in the directory $(scriptdir)/ldscripts. # We can't put the scripts in $(datadir) because the SEARCH_DIR # directives need to be different for native and cross linkers. |