aboutsummaryrefslogtreecommitdiff
path: root/binutils/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/Makefile.in')
-rw-r--r--binutils/Makefile.in17
1 files changed, 9 insertions, 8 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index 655c621..848a77c 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -143,6 +143,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
@@ -1015,21 +1016,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)
dlltool.o:
$(COMPILE) -c $(DLLTOOL_DEFS) $(srcdir)/dlltool.c