ocp: Force SDL detection

Seems we must pass CFLAGS instead now...
I'd be nicer if configure used sdl-config directly though.

Now it's not building anymore though...
This commit is contained in:
François Revol
2013-12-09 16:55:14 +01:00
parent 53f9afc3e1
commit 31c6838377

View File

@@ -47,15 +47,19 @@ BUILD_PREREQUIRES="
cmd:autoconf cmd:autoconf
cmd:make cmd:make
cmd:gcc$secondaryArchSuffix cmd:gcc$secondaryArchSuffix
cmd:sdl_config
" "
#XXX: this one pulls gcc2 SDL package in... which we don't need
# cmd:sdl_config
SOURCE_DIR="code" SOURCE_DIR="code"
# TODO: fix configure.ac to use sdl-config
# XXX: dwmixfa_8087.c:39:2: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
BUILD() BUILD()
{ {
autoconf autoconf
export CFLAGS="$(sdl-config --cflags)"
./configure --prefix=$prefix ./configure --prefix=$prefix
make make
} }