fix binutils build with new gcc versions
authorAndrew Engelbrecht <sudoman@ninthfloor.org>
Mon, 30 Jun 2014 00:56:37 +0000 (20:56 -0400)
committerAndrew Engelbrecht <sudoman@ninthfloor.org>
Mon, 30 Jun 2014 00:56:37 +0000 (20:56 -0400)
disabling -Werror while building binutils ignores the following
warnings on systems using -Werror and -Wall by default:

    -Wunused-value

Makefile

index 0465298f923b17519bc6bef3f2822c2ea1fe6a57..c9677cd4c5aadf1ac8b9d467d3ca8592d90461c4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -71,7 +71,8 @@ endef
 
 define BINUTILS/Compile
        $(call Common/Compile,BINUTILS, \
-               --target=$(TARGET), \
+               --target=$(TARGET) \
+               --disable-werror, \
                $(MAKE) && $(MAKE) -j1 install \
        )
 endef