summaryrefslogtreecommitdiff
path: root/tools/cmake/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-08-10 19:27:04 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-08-10 19:27:04 +0000
commitecc3d837177e4ea08a0b40f4ff0ee14e810199de (patch)
tree3e042f1adf1350a401ba7c698a63ed6fec740a9c /tools/cmake/Makefile
parent7d79e3a84a98d3fb6a6394a9897f6a30cd2c15b9 (diff)
downloadmtk-20170518-ecc3d837177e4ea08a0b40f4ff0ee14e810199de.zip
mtk-20170518-ecc3d837177e4ea08a0b40f4ff0ee14e810199de.tar.gz
mtk-20170518-ecc3d837177e4ea08a0b40f4ff0ee14e810199de.tar.bz2
cmake: link statically
SVN-Revision: 33114
Diffstat (limited to 'tools/cmake/Makefile')
-rw-r--r--tools/cmake/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile
index 54c6375..6f6c28a 100644
--- a/tools/cmake/Makefile
+++ b/tools/cmake/Makefile
@@ -15,4 +15,7 @@ PKG_MD5SUM:=e1b237aeaed880f65dec9c20602452f6
include $(INCLUDE_DIR)/host-build.mk
+HOST_CONFIGURE_CMD = \
+ LDFLAGS="$(HOST_LDFLAGS) -static" ./configure
+
$(eval $(call HostBuild))