summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/lzma/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lzma/Makefile b/tools/lzma/Makefile
index 4922f8087..00ed3dc42 100644
--- a/tools/lzma/Makefile
+++ b/tools/lzma/Makefile
@@ -21,8 +21,8 @@ UTIL_DIR=$(HOST_BUILD_DIR)/C/LzmaUtil
ALONE_DIR=$(HOST_BUILD_DIR)/CPP/7zip/Compress/LZMA_Alone
define Host/Compile
- $(MAKE) -C $(UTIL_DIR) -f makefile.gcc
- $(MAKE) -C $(ALONE_DIR) -f makefile.gcc
+ $(MAKE) -C $(UTIL_DIR) -f makefile.gcc LDFLAGS="-static"
+ $(MAKE) -C $(ALONE_DIR) -f makefile.gcc LDFLAGS="-static"
endef
define Host/Install