mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-17 20:20:16 +02:00
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
This commit is contained in:
parent
85f89d5d09
commit
26d874c060
@ -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