mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
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/"
|
homepage="http://foobillardplus.sourceforge.net/"
|
||||||
distfiles="${SOURCEFORGE_SITE}/foobillardplus/foobillardplus-$version.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/foobillardplus/foobillardplus-$version.tar.gz"
|
||||||
checksum=e276b70674a7d788c45eeff89f1f5db5d48d871a1ab92103813d424a3761e1d9
|
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() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue