uClibc: add -Wno-unused-but-set-variable to get rid of unnecessary warning logspam

SVN-Revision: 32558
This commit is contained in:
Felix Fietkau 2012-06-30 21:44:09 +00:00
parent c3caa1b768
commit ab9f9e2383

View File

@ -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) \