aboutsummaryrefslogtreecommitdiff
path: root/bfd/Makefile.am
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-04-09 12:17:43 +0000
committerAndrew Cagney <cagney@redhat.com>2000-04-09 12:17:43 +0000
commita2d91340f322fed39bdaf02391b8be01dffb7869 (patch)
tree34d42b74b6691f2cbaaf2381ea147aef4fbb36e1 /bfd/Makefile.am
parentd8e7020fd6fadafc86faf10ebe241fcf38927815 (diff)
downloadgdb-a2d91340f322fed39bdaf02391b8be01dffb7869.zip
gdb-a2d91340f322fed39bdaf02391b8be01dffb7869.tar.gz
gdb-a2d91340f322fed39bdaf02391b8be01dffb7869.tar.bz2
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 'bfd/Makefile.am')
-rw-r--r--bfd/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index aae8d70..9c58732 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -12,6 +12,9 @@ docdir = doc
lib_LTLIBRARIES = libbfd.la
+WARN_CFLAGS = @WARN_CFLAGS@
+AM_CFLAGS = $(WARN_CFLAGS)
+
# bfd.h goes here, for now
BFD_H = bfd.h