From 458893e620146aa5a8f220a1c64faa5c6ddb30ac Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Tue, 30 Sep 2014 21:36:33 +0000
Subject: [PATCH] binutils: fix build with gcc 4.9

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42707
---
 package/devel/binutils/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/devel/binutils/Makefile b/package/devel/binutils/Makefile
index e8d45d2d8b..381014e9d9 100644
--- a/package/devel/binutils/Makefile
+++ b/package/devel/binutils/Makefile
@@ -45,7 +45,7 @@ define Package/binutils/description
   The Binutils package contains a linker, an assembler, and other tools for handling object files
 endef
 
-TARGET_CFLAGS += $(FPIC)
+TARGET_CFLAGS += $(FPIC) -Wno-unused-value
 
 CONFIGURE_ARGS += \
 	--enable-shared \
-- 
GitLab