tools/squashfs(4): use $(HOSTCC) to avoid building with clang on recent mac os x...
[openwrt/svn-archive/archive.git] / tools / squashfs / Makefile
index 473c526..c6ad3dd 100644 (file)
@@ -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