mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-24 13:54:19 +08:00
Compile prboom statically
This commit is contained in:
parent
cf87630f26
commit
8092795133
@ -13,10 +13,19 @@ function recipe_update {
|
||||
}
|
||||
|
||||
function recipe_build {
|
||||
export CFLAGS="-static"
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
autoreconf -if
|
||||
wget -O autotools/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --prefix=/ --build=${BUILD} --host=${HOST} --disable-sdltest --disable-cpu-opt --disable-gl --without-net --with-sdl-prefix="$sysroot"
|
||||
./configure \
|
||||
--prefix=/ \
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
--disable-sdltest \
|
||||
--disable-cpu-opt \
|
||||
--disable-gl \
|
||||
--without-net \
|
||||
--with-sdl-prefix="$sysroot"
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user