xboxdrv: fix cross compilation; use makejobs.
This commit is contained in:
parent
8c8c69c7c9
commit
cb25d441d5
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue