From: Felix Fietkau Date: Wed, 24 Dec 2008 17:25:21 +0000 (+0000) Subject: uci: work around a gcc bug which causes a bogus compiler warning X-Git-Tag: reboot~24928 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=866dda4baa7adec30045f727b7926f867ef3d4b0;p=openwrt%2Fstaging%2Fjogo.git uci: work around a gcc bug which causes a bogus compiler warning SVN-Revision: 13739 --- diff --git a/package/uci/Makefile b/package/uci/Makefile index 4d787ddfd2..69dd50baea 100644 --- a/package/uci/Makefile +++ b/package/uci/Makefile @@ -56,6 +56,11 @@ UCI_MAKEOPTS = \ CPPFLAGS="-I$(PKG_BUILD_DIR) -I$(STAGING_DIR)/usr/include" \ OS="Linux" +# work around a nasty gcc bug +ifneq ($(CONFIG_GCC_VERSION_4_2_4),) + UCI_MAKEOPTS += WOPTS="" +endif + define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) $(UCI_MAKEOPTS) $(MAKE) -C $(PKG_BUILD_DIR)/lua $(UCI_MAKEOPTS)