mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
uci: work around a gcc bug which causes a bogus compiler warning
SVN-Revision: 13739
This commit is contained in:
parent
2d86ea2a1d
commit
866dda4baa
@ -56,6 +56,11 @@ UCI_MAKEOPTS = \
|
|||||||
CPPFLAGS="-I$(PKG_BUILD_DIR) -I$(STAGING_DIR)/usr/include" \
|
CPPFLAGS="-I$(PKG_BUILD_DIR) -I$(STAGING_DIR)/usr/include" \
|
||||||
OS="Linux"
|
OS="Linux"
|
||||||
|
|
||||||
|
# work around a nasty gcc bug
|
||||||
|
ifneq ($(CONFIG_GCC_VERSION_4_2_4),)
|
||||||
|
UCI_MAKEOPTS += WOPTS=""
|
||||||
|
endif
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) $(UCI_MAKEOPTS)
|
$(MAKE) -C $(PKG_BUILD_DIR) $(UCI_MAKEOPTS)
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR)/lua $(UCI_MAKEOPTS)
|
$(MAKE) -C $(PKG_BUILD_DIR)/lua $(UCI_MAKEOPTS)
|
||||||
|
Loading…
Reference in New Issue
Block a user