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-a3cf2f4a3e73master
parent
87cb557dcb
commit
f402383bf3
|
@ -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) \
|
||||||
|
|
Loading…
Reference in New Issue