mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
tools/upx: use HOSTCXX to fix build errors on mac os x
SVN-Revision: 36110
This commit is contained in:
parent
3d6093c275
commit
a982c1c697
@ -21,7 +21,8 @@ include $(INCLUDE_DIR)/host-build.mk
|
|||||||
define Host/Compile
|
define Host/Compile
|
||||||
rm -f $(HOST_BUILD_DIR)/src/.depend
|
rm -f $(HOST_BUILD_DIR)/src/.depend
|
||||||
$(MAKE) UPX_LZMADIR="$(BUILD_DIR_HOST)/lzma-4.65" -C $(HOST_BUILD_DIR)/src \
|
$(MAKE) UPX_LZMADIR="$(BUILD_DIR_HOST)/lzma-4.65" -C $(HOST_BUILD_DIR)/src \
|
||||||
CXXFLAGS_WERROR="" LDFLAGS="$(HOST_LDFLAGS) $(HOST_STATIC_LINKING)"
|
CXXFLAGS_WERROR="" LDFLAGS="$(HOST_LDFLAGS) $(HOST_STATIC_LINKING)" \
|
||||||
|
CXX="$(HOSTCXX)"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Host/Install
|
define Host/Install
|
||||||
|
Loading…
Reference in New Issue
Block a user