summaryrefslogtreecommitdiff
path: root/tools/upx/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-03-22 12:52:21 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-03-22 12:52:21 +0000
commit3a7a5691151667b67c0142948ad4f0ba95cb1d05 (patch)
tree691771bdbc7edd2214d51ddad3369d76b6b7ec03 /tools/upx/Makefile
parentef68c3714cc17f061e1747625e86b5ad9189cd5c (diff)
tools/upx: use HOSTCXX to fix build errors on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36110 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/upx/Makefile')
-rw-r--r--tools/upx/Makefile3
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