aboutsummaryrefslogtreecommitdiffstats
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
commit846225bb98160dec70b37454d5142b51df66acef (patch)
tree21c0f6585e07026b9e225618e76f8d599074afee
parent6844b7aaf78354e21af224d563314060bf01bb77 (diff)
downloadupstream-846225bb98160dec70b37454d5142b51df66acef.tar.gz
upstream-846225bb98160dec70b37454d5142b51df66acef.tar.bz2
upstream-846225bb98160dec70b37454d5142b51df66acef.zip
tools/squashfs(4): use $(HOSTCC) to avoid building with clang on recent mac os x. the clang build fails with some linker errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32706 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 473c526510..c6ad3dd1be 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 04a5456f6c..fff550234c 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= \