qt4: Enable parallel build
authorMichael Büsch <mb@bu3sch.de>
Wed, 18 Aug 2010 15:25:41 +0000 (15:25 +0000)
committerMichael Büsch <mb@bu3sch.de>
Wed, 18 Aug 2010 15:25:41 +0000 (15:25 +0000)
SVN-Revision: 22699

Xorg/lib/qt4/Makefile

index 412d124f06546ce9c53abd509a783f82e1c82ef9..9c8d5fb7760b2babbd1097c5c46cba4a40f6f7c7 100644 (file)
@@ -18,6 +18,7 @@ PKG_RELEASE:=1
 PKG_SOURCE:=qt-everywhere-opensource-src-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=ftp://ftp.qt.nokia.com/qt/source
 PKG_BUILD_DIR=$(BUILD_DIR)/qt-everywhere-opensource-src-$(PKG_VERSION)
+PKG_BUILD_PARALLEL:=1
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -360,7 +361,7 @@ define Build/Compile
        TARGET_LIBDIRS="$(TARGET_LIBDIRS)" \
        STAGING_DIR="$(STAGING_DIR)" \
        STAGING_DIR_HOST="$(STAGING_DIR)/../host" \
-       $(MAKE) -C $(PKG_BUILD_DIR)
+       $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)
        INSTALL_ROOT=$(PKG_INSTALL_DIR) \
                $(MAKE) -C $(PKG_BUILD_DIR) install
 endef