summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-10 19:26:34 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-10 19:26:34 +0000
commitf12cb56de9e9e73b2481cb7a214fc4e8403b066c (patch)
treeba2aeb23b34979f1d4bbc75a8756a3f8b151b684
parent8c9137dbc9aa1e0bd492c40ab37aa9241e244dce (diff)
[tools] mkimage: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33096 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--tools/mkimage/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkimage/Makefile b/tools/mkimage/Makefile
index d4338e591..e26d6b75c 100644
--- a/tools/mkimage/Makefile
+++ b/tools/mkimage/Makefile
@@ -21,7 +21,7 @@ include $(INCLUDE_DIR)/host-build.mk
define Host/Compile
rm -f $(HOST_BUILD_DIR)/tools/.depend
touch $(HOST_BUILD_DIR)/include/config.h
- $(MAKE) -C $(HOST_BUILD_DIR) BUILD_DIR= BIN_FILES-y="mkimage" tools
+ $(MAKE) -C $(HOST_BUILD_DIR) BUILD_DIR= BIN_FILES-y="mkimage" HOSTLDFLAGS="-static" tools
endef
define Host/Install