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
master
Felix Fietkau 2012-06-30 21:44:09 +00:00
parent 87cb557dcb
commit f402383bf3
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ GEN_CONFIG=$(SCRIPT_DIR)/kconfig.pl -n \
CPU_CFLAGS = \ CPU_CFLAGS = \
-funsigned-char -fno-builtin -fno-asm \ -funsigned-char -fno-builtin -fno-asm \
--std=gnu99 -ffunction-sections -fdata-sections \ --std=gnu99 -ffunction-sections -fdata-sections \
-Wno-unused-but-set-variable \
$(TARGET_CFLAGS) $(TARGET_CFLAGS)
UCLIBC_MAKE = PATH='$(TOOLCHAIN_DIR)/initial/bin:$(TARGET_PATH)' $(MAKE) -C $(HOST_BUILD_DIR) \ UCLIBC_MAKE = PATH='$(TOOLCHAIN_DIR)/initial/bin:$(TARGET_PATH)' $(MAKE) -C $(HOST_BUILD_DIR) \