xboxdrv: fix cross compilation; use makejobs.

This commit is contained in:
Juan RP 2015-03-20 12:18:57 +01:00
parent 8c8c69c7c9
commit cb25d441d5
1 changed files with 2 additions and 2 deletions

View File

@ -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 <miwaxe@gmail.com>"
@ -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"
}