X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=tools%2Fsquashfs%2FMakefile;h=6dc27d6750451b4182a5863f28c1f167e45ce1fa;hb=cf1698c6370d6a64f5f70a2dc5652d1fbc62afc3;hp=c6ad3dd1be363ee15fb3c0fcf70a3766cf8bcd7b;hpb=08c7eae8f6b310b4579a076a68c716baab8fbdd1;p=lede-git%2F.git diff --git a/tools/squashfs/Makefile b/tools/squashfs/Makefile index c6ad3dd1be..6dc27d6750 100644 --- a/tools/squashfs/Makefile +++ b/tools/squashfs/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006 OpenWrt.org +# Copyright (C) 2006-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -21,6 +21,7 @@ include $(INCLUDE_DIR)/host-build.mk define Host/Compile $(MAKE) -C $(HOST_BUILD_DIR)/squashfs-tools \ CC="$(HOSTCC)" \ + CXX="$(CXX) $(HOST_STATIC_LINKING)" \ LZMAPATH=$(STAGING_DIR_HOST)/lib \ mksquashfs-lzma unsquashfs-lzma endef