aboutsummaryrefslogtreecommitdiff
path: root/gas/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 /gas/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 'gas/Makefile.am')
-rw-r--r--gas/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/Makefile.am b/gas/Makefile.am
index cefb86e..79a5c9f 100644
--- a/gas/Makefile.am
+++ b/gas/Makefile.am
@@ -12,6 +12,9 @@ tooldir = $(exec_prefix)/$(target_alias)
YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo bison -y ; fi`
LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi`
+WARN_CFLAGS = @WARN_CFLAGS@
+AM_CFLAGS = $(WARN_CFLAGS)
+
MKDEP = gcc -MM
TARG_CPU = @target_cpu_type@