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
This commit is contained in:
parent
877797c60e
commit
08c7eae8f6
2 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@ include $(INCLUDE_DIR)/host-build.mk
|
||||||
|
|
||||||
define Host/Compile
|
define Host/Compile
|
||||||
$(MAKE) -C $(HOST_BUILD_DIR)/squashfs-tools \
|
$(MAKE) -C $(HOST_BUILD_DIR)/squashfs-tools \
|
||||||
|
CC="$(HOSTCC)" \
|
||||||
LZMAPATH=$(STAGING_DIR_HOST)/lib \
|
LZMAPATH=$(STAGING_DIR_HOST)/lib \
|
||||||
mksquashfs-lzma unsquashfs-lzma
|
mksquashfs-lzma unsquashfs-lzma
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -20,6 +20,7 @@ include $(INCLUDE_DIR)/host-build.mk
|
||||||
|
|
||||||
define Host/Compile
|
define Host/Compile
|
||||||
$(MAKE) -C $(HOST_BUILD_DIR)/squashfs-tools \
|
$(MAKE) -C $(HOST_BUILD_DIR)/squashfs-tools \
|
||||||
|
CC="$(HOSTCC)" \
|
||||||
XZ_SUPPORT=1 \
|
XZ_SUPPORT=1 \
|
||||||
LZMA_XZ_SUPPORT=1 \
|
LZMA_XZ_SUPPORT=1 \
|
||||||
XATTR_SUPPORT= \
|
XATTR_SUPPORT= \
|
||||||
|
|
Loading…
Reference in a new issue