From 8d689801b87c318e8f171396ba429309e6069787 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michael=20B=C3=BCsch?= Date: Sat, 9 Oct 2010 16:49:03 +0000 Subject: [PATCH] php5: Enable parallel build (patch by loswillios) SVN-Revision: 23366 --- lang/php5/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lang/php5/Makefile b/lang/php5/Makefile index 8f2efefffb..aa1067e1b9 100644 --- a/lang/php5/Makefile +++ b/lang/php5/Makefile @@ -16,6 +16,7 @@ PKG_SOURCE_URL:=http://www.php.net/distributions/ PKG_MD5SUM:=63e97ad450f0f7259e785100b634c797 PKG_FIXUP:=libtool +PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk @@ -642,7 +643,7 @@ ifneq ($(CONFIG_PACKAGE_php5-cli),) iconv_impl_name="gnu_libiconv" \ ac_cv_php_xml2_config_path="$(STAGING_DIR)/host/bin/xml2-config" \ ) - $(MAKE) -C $(PKG_BUILD_DIR) + $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) mv $(PKG_BUILD_DIR)/sapi/cli/php $(PKG_BUILD_DIR)/php-cli endef endif @@ -660,7 +661,7 @@ ifneq ($(CONFIG_PACKAGE_php5-cgi),) iconv_impl_name="gnu_libiconv" \ ac_cv_php_xml2_config_path="$(STAGING_DIR)/host/bin/xml2-config" \ ) - $(MAKE) -C $(PKG_BUILD_DIR) + $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) mv $(PKG_BUILD_DIR)/sapi/cgi/php-cgi $(PKG_BUILD_DIR)/php-cgi endef endif -- 2.30.2