summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/common.mk
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-30 21:44:09 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-30 21:44:09 +0000
commit8096c8d9bf2c0cd236642e736ca51bb5fa5e92b6 (patch)
tree08d7f4f0b39d33382b82b7790b9b491aa650832b /toolchain/uClibc/common.mk
parentdb73773bde1bd2660a1bf76988b794a6a8a74ab5 (diff)
uClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning logspam
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32558 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/uClibc/common.mk')
-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 e466b9d57..5f3bd2944 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) \