aboutsummaryrefslogtreecommitdiffstats
path: root/tools/m4
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
commitbf886c05964c33c59e8dc1bf4896d53764db8c01 (patch)
tree965ec3d65ea4a5e1e07170a8d5ea8c6bda002249 /tools/m4
parent5ca993f88d7303a84be602c80760fc02770b7be8 (diff)
downloadupstream-bf886c05964c33c59e8dc1bf4896d53764db8c01.tar.gz
upstream-bf886c05964c33c59e8dc1bf4896d53764db8c01.tar.bz2
upstream-bf886c05964c33c59e8dc1bf4896d53764db8c01.zip
[tools] m4: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33095 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/m4')
-rw-r--r--tools/m4/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/m4/Makefile b/tools/m4/Makefile
index b838799ab0..91efb5b0d5 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)