aboutsummaryrefslogtreecommitdiffstats
path: root/tools/automake
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-02-01 15:06:36 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-02-01 15:06:36 +0000
commitdf061331d2e8ae492130e5612d438eb575153f27 (patch)
treeaa63a921e7a703e56aaea45599bf52d4ac20b18f /tools/automake
parentc7e717ce65a6d82db99bef7958da365acff7e1ae (diff)
downloadmaster-187ad058-df061331d2e8ae492130e5612d438eb575153f27.tar.gz
master-187ad058-df061331d2e8ae492130e5612d438eb575153f27.tar.bz2
master-187ad058-df061331d2e8ae492130e5612d438eb575153f27.zip
[tools] automake: forcibly disable perl ithreads support
The SDK when build on a machine with perl ithreads enabled will fail to run on many Gentoo systems because perl is usually built without thread capability there. In order to circumvent this issue forcibly disable the ithreads support, tested on CentOS 5.6, Ubuntu 10.04 LTS and Gentoo. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29979 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/automake')
-rw-r--r--tools/automake/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/automake/Makefile b/tools/automake/Makefile
index bf1d2764b3..c30a9900e6 100644
--- a/tools/automake/Makefile
+++ b/tools/automake/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -16,6 +16,7 @@ PKG_MD5SUM:=c2972c4d9b3e29c03d5f2af86249876f
include $(INCLUDE_DIR)/host-build.mk
HOST_CONFIGURE_ARGS += --datarootdir=$(STAGING_DIR_HOST)/share
+HOST_CONFIGURE_VARS += am_cv_prog_PERL_ithreads=no
define Host/Install
$(MAKE) -C $(HOST_BUILD_DIR) install