Procházet zdrojové kódy

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
Jo-Philipp Wich před 14 roky
rodič
revize
1ef07eee4a
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      tools/automake/Makefile

+ 2 - 1
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.
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 # See /LICENSE for more information.
@@ -16,6 +16,7 @@ PKG_MD5SUM:=c2972c4d9b3e29c03d5f2af86249876f
 include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/host-build.mk
 
 
 HOST_CONFIGURE_ARGS += --datarootdir=$(STAGING_DIR_HOST)/share
 HOST_CONFIGURE_ARGS += --datarootdir=$(STAGING_DIR_HOST)/share
+HOST_CONFIGURE_VARS += am_cv_prog_PERL_ithreads=no
 
 
 define Host/Install
 define Host/Install
 	$(MAKE) -C $(HOST_BUILD_DIR) install
 	$(MAKE) -C $(HOST_BUILD_DIR) install