From ab9f9e23832528ba0c402726665168fb7632278f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 30 Jun 2012 21:44:09 +0000 Subject: [PATCH] uClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning logspam SVN-Revision: 32558 --- toolchain/uClibc/common.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/toolchain/uClibc/common.mk b/toolchain/uClibc/common.mk index e466b9d57fe..5f3bd29444f 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) \