Compile prboom statically

This commit is contained in:
Jeremy Soller 2019-06-16 09:37:24 -06:00
parent cf87630f26
commit 8092795133
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -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
}