From: Andrew Engelbrecht Date: Mon, 30 Jun 2014 00:56:37 +0000 (-0400) Subject: fix binutils build with new gcc versions X-Git-Tag: 1.4.0~5^2~1 X-Git-Url: https://jxself.org/git/?p=open-ath9k-htc-firmware.git;a=commitdiff_plain;h=82f9c2cb94a7f79199729b0d6a937710f87a778c fix binutils build with new gcc versions disabling -Werror while building binutils ignores the following warnings on systems using -Werror and -Wall by default: -Wunused-value --- diff --git a/Makefile b/Makefile index 0465298..c9677cd 100644 --- 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