From d8e6c8fbe4d7492874b642e1576ef11897a1852e Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 14 Apr 2005 05:26:44 +0000 Subject: bfd/ * Makefile.am (NO_WERROR): Define. * warning.m4: New file * acinclude.m4: Include warning.m4. * configure.in: Invoke AM_BINUTILS_WARNINGS. * Makefile.in: Regenerate. * configure: Regenerate. bfd/doc/ * Makefile.in: Regenerate. binutils/ * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error. * configure.in: Include ../bfd/warning.m4 contents. * Makefile.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. gas/ * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error. * acinclude.m4: Include ../bfd/warning.m4. * configure.in: Invoke AM_BINUTILS_WARNINGS. * Makefile.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. gprof/ * Makefile.am (NO_WERROR): Define. * acinclude.m4: Include ../bfd/warning.m4. * configure.in: Invoke AM_BINUTILS_WARNINGS. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure: Regenerate. ld/ * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error. * configure.in: Include ../bfd/warning.m4 contents. * Makefile.in: Regenerate. * configure: Regenerate. opcodes/ * Makefile.am (NO_WERROR): Define. * configure.in: Invoke AM_BINUTILS_WARNINGS. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure: Regenerate. --- binutils/Makefile.am | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'binutils/Makefile.am') diff --git a/binutils/Makefile.am b/binutils/Makefile.am index 8570bd7a0c..143efbd18f 100644 --- a/binutils/Makefile.am +++ b/binutils/Makefile.am @@ -20,6 +20,7 @@ YFLAGS = -d LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi` WARN_CFLAGS = @WARN_CFLAGS@ +NO_WERROR = @NO_WERROR@ AM_CFLAGS = $(WARN_CFLAGS) # these two are almost the same program @@ -245,21 +246,21 @@ sysinfo.h: sysinfo.c # Disable -Werror, if it has been enabled, since old versions of bison/ # yacc will produce working code which contain compile time warnings. arparse.o: - $(COMPILE) -c $< -Wno-error + $(COMPILE) -c $< $(NO_WERROR) arlex.o: - $(COMPILE) -c $< -Wno-error + $(COMPILE) -c $< $(NO_WERROR) sysroff.o: - $(COMPILE) -c $< -Wno-error + $(COMPILE) -c $< $(NO_WERROR) defparse.o: - $(COMPILE) -c $< -Wno-error + $(COMPILE) -c $< $(NO_WERROR) deflex.o: - $(COMPILE) -c $< -Wno-error + $(COMPILE) -c $< $(NO_WERROR) nlmheader.o: - $(COMPILE) -c $< -Wno-error + $(COMPILE) -c $< $(NO_WERROR) rcparse.o: - $(COMPILE) -c $< -Wno-error + $(COMPILE) -c $< $(NO_WERROR) rclex.o: - $(COMPILE) -c $< -Wno-error + $(COMPILE) -c $< $(NO_WERROR) srconv_SOURCES = srconv.c coffgrok.c $(BULIBS) -- cgit v1.2.1