* Makefile.am (syslex.o): Use $(NO_WERROR) not -Wno-error.
authorBen Elliston <bje@au.ibm.com>
Fri, 20 Nov 2009 00:30:01 +0000 (00:30 +0000)
committerBen Elliston <bje@au.ibm.com>
Fri, 20 Nov 2009 00:30:01 +0000 (00:30 +0000)
(sysinfo.o): Likewise.
* Makefile.in: Regenerate.

binutils/ChangeLog
binutils/Makefile.am
binutils/Makefile.in

index 05a696a8ee801d242b0c8f1087b00bc0998f55d6..586c3fbec10cfd007c5529609027c2cb04bdefd1 100644 (file)
@@ -1,3 +1,9 @@
+2009-11-20  Ben Elliston  <bje@au.ibm.com>
+
+       * Makefile.am (syslex.o): Use $(NO_WERROR) not -Wno-error.
+       (sysinfo.o): Likewise.
+       * Makefile.in: Regenerate.
+
 2009-11-19  Ben Elliston  <bje@au.ibm.com>
 
        * arlex.l: Enable noinput, nounput flex options.
index 5d64c1ae314c1a862401d44e44dfb495d91a5c6a..db7a77352a24c805c51ef4f4689ad560f14ed1cd 100644 (file)
@@ -255,16 +255,16 @@ sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o
 
 syslex.o: syslex.c sysinfo.h config.h
        if [ -r syslex.c ]; then \
-         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) -Wno-error syslex.c ; \
+         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(NO_WERROR) syslex.c ; \
        else \
-         $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) -Wno-error $(srcdir)/syslex.c ;\
+         $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(NO_WERROR) $(srcdir)/syslex.c ;\
        fi
 
 sysinfo.o: sysinfo.c
        if [ -r sysinfo.c ]; then \
-         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) -Wno-error sysinfo.c ; \
+         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(NO_WERROR) sysinfo.c ; \
        else \
-         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) -Wno-error $(srcdir)/sysinfo.c ; \
+         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(NO_WERROR) $(srcdir)/sysinfo.c ; \
        fi
 
 bin2c$(EXEEXT_FOR_BUILD):
index 9b8725d018c0dcd631fee7a7e2745f2d8aad3bdc..dcda20fa3dcef66f8667642ef0efeb223095b2dd 100644 (file)
@@ -1197,16 +1197,16 @@ sysinfo$(EXEEXT_FOR_BUILD): sysinfo.o syslex.o
 
 syslex.o: syslex.c sysinfo.h config.h
        if [ -r syslex.c ]; then \
-         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) -Wno-error syslex.c ; \
+         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(NO_WERROR) syslex.c ; \
        else \
-         $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) -Wno-error $(srcdir)/syslex.c ;\
+         $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(NO_WERROR) $(srcdir)/syslex.c ;\
        fi
 
 sysinfo.o: sysinfo.c
        if [ -r sysinfo.c ]; then \
-         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) -Wno-error sysinfo.c ; \
+         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(NO_WERROR) sysinfo.c ; \
        else \
-         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) -Wno-error $(srcdir)/sysinfo.c ; \
+         $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(NO_WERROR) $(srcdir)/sysinfo.c ; \
        fi
 
 bin2c$(EXEEXT_FOR_BUILD):