From: Felix Fietkau Date: Fri, 13 Jul 2012 23:18:15 +0000 (+0000) Subject: tools/squashfs(4): use $(HOSTCC) to avoid building with clang on recent mac os x... X-Git-Tag: reboot~13387 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=08c7eae8f6b310b4579a076a68c716baab8fbdd1;p=openwrt%2Fstaging%2Fchunkeey.git 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 --- 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= \