diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-12-24 17:25:21 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-12-24 17:25:21 +0000 |
commit | 44bd58fa1a6ec138bb75b5c8921aed04e3a4ef67 (patch) | |
tree | 65a6f217b6ab579d8080d3e72ab2cab31ea04ec9 /package/uci/Makefile | |
parent | 073a2a82844a0ff3fbe844c9c19be258bfb4d7fc (diff) | |
download | upstream-44bd58fa1a6ec138bb75b5c8921aed04e3a4ef67.tar.gz upstream-44bd58fa1a6ec138bb75b5c8921aed04e3a4ef67.tar.bz2 upstream-44bd58fa1a6ec138bb75b5c8921aed04e3a4ef67.zip |
uci: work around a gcc bug which causes a bogus compiler warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13739 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uci/Makefile')
-rw-r--r-- | package/uci/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
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) |