summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-08-10 19:26:30 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-08-10 19:26:30 +0000
commitea6c66131feecf7691ada796476f78381dde50e3 (patch)
treed939d16e7fc46c973c83e9a1fc4316e61ce56f3e /tools
parentd505def9ba6314206886995b416ae28bccf94d47 (diff)
downloadmtk-20170518-ea6c66131feecf7691ada796476f78381dde50e3.zip
mtk-20170518-ea6c66131feecf7691ada796476f78381dde50e3.tar.gz
mtk-20170518-ea6c66131feecf7691ada796476f78381dde50e3.tar.bz2
lzma: link statically
SVN-Revision: 33094
Diffstat (limited to 'tools')
-rw-r--r--tools/lzma/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lzma/Makefile b/tools/lzma/Makefile
index 4922f80..00ed3dc 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