aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-06-30 21:44:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-06-30 21:44:09 +0000
commitab9f9e23832528ba0c402726665168fb7632278f (patch)
tree852998e18d9367df2d8e2a4055dc78c69e5ed1d0
parentc3caa1b768728fc9daf833c55f846d6bc2362efb (diff)
downloadupstream-ab9f9e23832528ba0c402726665168fb7632278f.tar.gz
upstream-ab9f9e23832528ba0c402726665168fb7632278f.tar.bz2
upstream-ab9f9e23832528ba0c402726665168fb7632278f.zip
uClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning logspam
SVN-Revision: 32558
-rw-r--r--toolchain/uClibc/common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/uClibc/common.mk b/toolchain/uClibc/common.mk
index e466b9d57f..5f3bd29444 100644
--- a/toolchain/uClibc/common.mk
+++ b/toolchain/uClibc/common.mk
@@ -47,6 +47,7 @@ GEN_CONFIG=$(SCRIPT_DIR)/kconfig.pl -n \
CPU_CFLAGS = \
-funsigned-char -fno-builtin -fno-asm \
--std=gnu99 -ffunction-sections -fdata-sections \
+ -Wno-unused-but-set-variable \
$(TARGET_CFLAGS)
UCLIBC_MAKE = PATH='$(TOOLCHAIN_DIR)/initial/bin:$(TARGET_PATH)' $(MAKE) -C $(HOST_BUILD_DIR) \