From 8096c8d9bf2c0cd236642e736ca51bb5fa5e92b6 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 30 Jun 2012 21:44:09 +0000 Subject: 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 --- toolchain/uClibc/common.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'toolchain/uClibc') 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) \ -- cgit v1.2.3