tools/upx: use HOSTCXX to fix build errors on mac os x

SVN-Revision: 36110
This commit is contained in:
Felix Fietkau 2013-03-22 12:52:21 +00:00
parent 3d6093c275
commit a982c1c697

View file

@ -21,7 +21,8 @@ include $(INCLUDE_DIR)/host-build.mk
define Host/Compile
rm -f $(HOST_BUILD_DIR)/src/.depend
$(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
define Host/Install