From cb25d441d56cdb348237ba18e50839c167f0baf0 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 20 Mar 2015 12:18:57 +0100 Subject: [PATCH] xboxdrv: fix cross compilation; use makejobs. --- srcpkgs/xboxdrv/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/xboxdrv/template b/srcpkgs/xboxdrv/template index 29b52cec97f..8342140fbd4 100644 --- a/srcpkgs/xboxdrv/template +++ b/srcpkgs/xboxdrv/template @@ -3,7 +3,7 @@ pkgname=xboxdrv version=0.8.5 revision=1 build_style=gnu-makefile -hostmakedepends="scons unzip pkg-config" +hostmakedepends="scons unzip pkg-config glib-devel dbus-glib-devel" makedepends="boost-devel libX11-devel libudev-devel libusb-devel dbus-glib-devel glib-devel" short_desc="Xbox Gamepad Userspace Driver" maintainer="Andrea Brancaleoni " @@ -13,5 +13,5 @@ distfiles="https://github.com/Grumbel/${pkgname}/archive/v${version}.zip" checksum=96247450cda3184b1cfb09e2ac8758d81c6a78271b614e645399eb2a07fd3d38 do_build() { - scons CC=$CC CXX=$CXX CCFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LINKFLAGS="$LDFLAGS" + scons ${makejobs} CC=$CC CXX=$CXX CCFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LINKFLAGS="$LDFLAGS" }