aboutsummaryrefslogtreecommitdiffstats
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
parent7d79e3a84a98d3fb6a6394a9897f6a30cd2c15b9 (diff)
downloadupstream-ecc3d837177e4ea08a0b40f4ff0ee14e810199de.tar.gz
upstream-ecc3d837177e4ea08a0b40f4ff0ee14e810199de.tar.bz2
upstream-ecc3d837177e4ea08a0b40f4ff0ee14e810199de.zip
cmake: link statically
SVN-Revision: 33114
-rw-r--r--tools/cmake/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile
index 54c63757c7..6f6c28a9b0 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))