summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-10 19:26:31 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-10 19:26:31 +0000
commit8c9137dbc9aa1e0bd492c40ab37aa9241e244dce (patch)
tree965ec3d65ea4a5e1e07170a8d5ea8c6bda002249 /tools
parent9689f7c875ffa2fecc661b4d0b0ffcd18b5c9511 (diff)
[tools] m4: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33095 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-rw-r--r--tools/m4/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/m4/Makefile b/tools/m4/Makefile
index b838799ab..91efb5b0d 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)