foobillard++: fix cross builds.

No idea how it worked previously.
This commit is contained in:
Érico Rolim 2021-01-01 22:57:52 -03:00
parent 07d90865b1
commit dd0386302c

View file

@ -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