summaryrefslogtreecommitdiff
path: root/tools
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
commit1ef07eee4ab65e70bb9f8d896d1678891ce83ddf (patch)
treef632e2ecae59069faf088c9b8949ba795b22c0cc /tools
parent41bd6bd282aa75e357c9a4eaf27518726301b4dc (diff)
downloadmtk-20170518-1ef07eee4ab65e70bb9f8d896d1678891ce83ddf.zip
mtk-20170518-1ef07eee4ab65e70bb9f8d896d1678891ce83ddf.tar.gz
mtk-20170518-1ef07eee4ab65e70bb9f8d896d1678891ce83ddf.tar.bz2
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.
SVN-Revision: 29979
Diffstat (limited to 'tools')
-rw-r--r--tools/automake/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/automake/Makefile b/tools/automake/Makefile
index bf1d276..c30a990 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