Skip to content
Snippets Groups Projects
Verified Commit e68f45f0 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Build dosbox statically

parent 82775303
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment