From cf1698c6370d6a64f5f70a2dc5652d1fbc62afc3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 12 Aug 2012 12:34:30 +0000 Subject: use HOST_STATIC_LINKING instead of hardcoding -static SVN-Revision: 33140 --- tools/squashfs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/squashfs/Makefile') diff --git a/tools/squashfs/Makefile b/tools/squashfs/Makefile index f4a5460135..6dc27d6750 100644 --- a/tools/squashfs/Makefile +++ b/tools/squashfs/Makefile @@ -21,7 +21,7 @@ include $(INCLUDE_DIR)/host-build.mk define Host/Compile $(MAKE) -C $(HOST_BUILD_DIR)/squashfs-tools \ CC="$(HOSTCC)" \ - CXX="$(CXX) -static" \ + CXX="$(CXX) $(HOST_STATIC_LINKING)" \ LZMAPATH=$(STAGING_DIR_HOST)/lib \ mksquashfs-lzma unsquashfs-lzma endef -- cgit v1.2.3