summaryrefslogtreecommitdiff
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
commit397be7998e54fe196d174728fddf22ffbbd0e7a0 (patch)
treefb47e35dc461f8c338e85f6b5bb99c63d4e25a10 /bfd/Makefile.am
parent0ab691d921bb1acb9146b4b29eb947c6e7338aee (diff)
downloadgdb-397be7998e54fe196d174728fddf22ffbbd0e7a0.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 '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 aae8d708a75..9c587322d32 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