foobillard++: fix cross builds.
No idea how it worked previously.
This commit is contained in:
parent
07d90865b1
commit
dd0386302c
1 changed files with 4 additions and 1 deletions
|
@ -15,7 +15,10 @@ license="GPL-2.0-only"
|
|||
homepage="http://foobillardplus.sourceforge.net/"
|
||||
distfiles="${SOURCEFORGE_SITE}/foobillardplus/foobillardplus-$version.tar.gz"
|
||||
checksum=e276b70674a7d788c45eeff89f1f5db5d48d871a1ab92103813d424a3761e1d9
|
||||
CFLAGS+=" -fgnu89-inline"
|
||||
CFLAGS="-fgnu89-inline"
|
||||
# flags from freetype-config and sdl-config
|
||||
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/freetype2"
|
||||
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/SDL -D_GNU_SOURCE=1"
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
|
|
Loading…
Reference in a new issue