diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-03-22 12:52:21 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-03-22 12:52:21 +0000 |
commit | a982c1c6973ae971f515e238dd33dbb12a53ad2a (patch) | |
tree | 02a3a8e98105190a7185d2bc023fa11e35d9713c /tools/upx | |
parent | 3d6093c275bc9c00d402784e164da313137cf7fb (diff) | |
download | upstream-a982c1c6973ae971f515e238dd33dbb12a53ad2a.tar.gz upstream-a982c1c6973ae971f515e238dd33dbb12a53ad2a.tar.bz2 upstream-a982c1c6973ae971f515e238dd33dbb12a53ad2a.zip |
tools/upx: use HOSTCXX to fix build errors on mac os x
SVN-Revision: 36110
Diffstat (limited to 'tools/upx')
-rw-r--r-- | tools/upx/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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 |