summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))