summaryrefslogtreecommitdiff
path: root/target/tools/squashfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/tools/squashfs/Makefile')
-rw-r--r--target/tools/squashfs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/tools/squashfs/Makefile b/target/tools/squashfs/Makefile
index 3f22d8a56..53be3bb3c 100644
--- a/target/tools/squashfs/Makefile
+++ b/target/tools/squashfs/Makefile
@@ -14,7 +14,7 @@ WRKDIST= ${WRKDIR}/$(PKG_NAME)${PKG_VERSION}
include ../rules.mk
$(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
- $(MAKE) -C $(WRKBUILD)/squashfs-tools
+ ${MAKE} -C ${WRKBUILD}/squashfs-tools CC='${HOSTCC}'
touch $@
${STAGING_HOST_DIR}/bin/mksquashfs: $(WRKBUILD)/.compiled