summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-07-13 23:18:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-07-13 23:18:15 +0000
commit08c7eae8f6b310b4579a076a68c716baab8fbdd1 (patch)
tree83b010a59391b106843958c2e3e4a96b42aa2182 /tools
parent877797c60e3d24ece7cbc55ac95fc836de30ef2d (diff)
downloadmtk-20170518-08c7eae8f6b310b4579a076a68c716baab8fbdd1.zip
mtk-20170518-08c7eae8f6b310b4579a076a68c716baab8fbdd1.tar.gz
mtk-20170518-08c7eae8f6b310b4579a076a68c716baab8fbdd1.tar.bz2
tools/squashfs(4): use $(HOSTCC) to avoid building with clang on recent mac os x. the clang build fails with some linker errors
SVN-Revision: 32706
Diffstat (limited to 'tools')
-rw-r--r--tools/squashfs/Makefile1
-rw-r--r--tools/squashfs4/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/squashfs/Makefile b/tools/squashfs/Makefile
index 473c526..c6ad3dd 100644
--- a/tools/squashfs/Makefile
+++ b/tools/squashfs/Makefile
@@ -20,6 +20,7 @@ include $(INCLUDE_DIR)/host-build.mk
define Host/Compile
$(MAKE) -C $(HOST_BUILD_DIR)/squashfs-tools \
+ CC="$(HOSTCC)" \
LZMAPATH=$(STAGING_DIR_HOST)/lib \
mksquashfs-lzma unsquashfs-lzma
endef
diff --git a/tools/squashfs4/Makefile b/tools/squashfs4/Makefile
index 04a5456..fff5502 100644
--- a/tools/squashfs4/Makefile
+++ b/tools/squashfs4/Makefile
@@ -20,6 +20,7 @@ include $(INCLUDE_DIR)/host-build.mk
define Host/Compile
$(MAKE) -C $(HOST_BUILD_DIR)/squashfs-tools \
+ CC="$(HOSTCC)" \
XZ_SUPPORT=1 \
LZMA_XZ_SUPPORT=1 \
XATTR_SUPPORT= \