From 8c8c69c7c9e54efb424c95aa725e213ad258017f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 20 Mar 2015 12:10:01 +0100 Subject: [PATCH] xboxdrv: build with our {C,LD}FLAGS and fix cross compilation. Close #1173 --- srcpkgs/xboxdrv/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/xboxdrv/template b/srcpkgs/xboxdrv/template index 1b9c4fd89ee..29b52cec97f 100644 --- a/srcpkgs/xboxdrv/template +++ b/srcpkgs/xboxdrv/template @@ -9,6 +9,9 @@ short_desc="Xbox Gamepad Userspace Driver" maintainer="Andrea Brancaleoni " license="GPL-3" homepage="http://pingus.seul.org/~grumbel/xboxdrv/" -make_build_target=${pkgname} 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" +}