aboutsummaryrefslogtreecommitdiffstats
path: root/tools/squashfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/squashfs/Makefile')
-rw-r--r--tools/squashfs/Makefile2
1 files changed, 1 insertions, 1 deletions
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