mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 04:44:19 +08:00
Build dosbox statically
This commit is contained in:
parent
8277530374
commit
e68f45f00d
@ -16,10 +16,16 @@ function recipe_build {
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
export CFLAGS="-I$sysroot/include/SDL"
|
||||
export CPPFLAGS="-I$sysroot/include/SDL"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
export LDFLAGS="-L$sysroot/lib -static"
|
||||
./autogen.sh
|
||||
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix='' --disable-opengl --disable-sdltest --with-sdl-prefix="$sysroot"
|
||||
./configure \
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
--prefix='' \
|
||||
--disable-opengl \
|
||||
--disable-sdltest \
|
||||
--with-sdl-prefix="$sysroot"
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user