summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-08-10 19:26:31 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-08-10 19:26:31 +0000
commit82c39a260e1bdd639dcfa89f96234c43164b074f (patch)
treea21d3481f247339ccfb0bd8f83ee3203b72c9d1d
parentea6c66131feecf7691ada796476f78381dde50e3 (diff)
downloadmtk-20170518-82c39a260e1bdd639dcfa89f96234c43164b074f.zip
mtk-20170518-82c39a260e1bdd639dcfa89f96234c43164b074f.tar.gz
mtk-20170518-82c39a260e1bdd639dcfa89f96234c43164b074f.tar.bz2
m4: link statically
SVN-Revision: 33095
-rw-r--r--tools/m4/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/m4/Makefile b/tools/m4/Makefile
index b838799..91efb5b 100644
--- a/tools/m4/Makefile
+++ b/tools/m4/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2008 OpenWrt.org
+# Copyright (C) 2008-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -16,6 +16,8 @@ PKG_CAT:=zcat
include $(INCLUDE_DIR)/host-build.mk
+HOST_LDFLAGS += -static
+
define Host/Clean
-$(MAKE) -C $(HOST_BUILD_DIR) uninstall
$(call Host/Clean/Default)