From 866dda4baa7adec30045f727b7926f867ef3d4b0 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 24 Dec 2008 17:25:21 +0000 Subject: [PATCH] uci: work around a gcc bug which causes a bogus compiler warning SVN-Revision: 13739 --- package/uci/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/uci/Makefile b/package/uci/Makefile index 4d787ddfd2d4..69dd50baeae8 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) -- 2.30.2