From 8502617a6da157c77d406ad29089b26e3e6f0c13 Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 13 Jul 2012 23:18:15 +0000 Subject: 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 --- tools/squashfs/Makefile | 1 + tools/squashfs4/Makefile | 1 + 2 files changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/squashfs/Makefile b/tools/squashfs/Makefile index 473c52651..c6ad3dd1b 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 04a5456f6..fff550234 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= \ -- cgit v1.2.3