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