summaryrefslogtreecommitdiff
path: root/opcodes/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 /opcodes/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 'opcodes/Makefile.am')
-rw-r--r--opcodes/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am
index 77beb4d6161..d4392c5f4d7 100644
--- a/opcodes/Makefile.am
+++ b/opcodes/Makefile.am
@@ -8,6 +8,9 @@ INCDIR = $(srcdir)/../include
BFDDIR = $(srcdir)/../bfd
MKDEP = gcc -MM
+WARN_CFLAGS = @WARN_CFLAGS@
+AM_CFLAGS = $(WARN_CFLAGS)
+
lib_LTLIBRARIES = libopcodes.la
# This is where bfd.h lives.