From: Felix Fietkau Date: Fri, 22 Mar 2013 12:52:21 +0000 (+0000) Subject: tools/upx: use HOSTCXX to fix build errors on mac os x X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=63f9b27c9b2b42dbc84ab6ddb04e4c7af93b3ca8;p=openwrt%2Fsvn-archive%2Farchive.git tools/upx: use HOSTCXX to fix build errors on mac os x SVN-Revision: 36110 --- diff --git a/tools/upx/Makefile b/tools/upx/Makefile index 3e76232012..c162e557cb 100644 --- a/tools/upx/Makefile +++ b/tools/upx/Makefile @@ -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