summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/zstd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/zstd/Makefile b/tools/zstd/Makefile
index f962809f82..e1d36c59cf 100644
--- a/tools/zstd/Makefile
+++ b/tools/zstd/Makefile
@@ -17,6 +17,8 @@ include $(INCLUDE_DIR)/host-build.mk
HOSTCC:= $(HOSTCC_NOCACHE)
+HOST_CFLAGS += $(HOST_FPIC)
+
HOST_MAKE_FLAGS += \
BACKTRACE=0 \
HAVE_THREAD=1 \