From a2d91340f322fed39bdaf02391b8be01dffb7869 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 9 Apr 2000 12:17:43 +0000 Subject: 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. --- gas/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gas/Makefile.am') 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@ -- cgit v1.1