From: Felix Fietkau Date: Sat, 30 Jun 2012 21:44:09 +0000 (+0000) Subject: uClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning logspam X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ab9f9e23832528ba0c402726665168fb7632278f;p=openwrt%2Fstaging%2Frobimarko.git uClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning logspam SVN-Revision: 32558 --- 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) \