From 8092795133c1d21867eea0ab391e8296458bf7ed Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sun, 16 Jun 2019 09:37:24 -0600 Subject: [PATCH] Compile prboom statically --- recipes/prboom/recipe.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/recipes/prboom/recipe.sh b/recipes/prboom/recipe.sh index 3419878bc..678437918 100644 --- a/recipes/prboom/recipe.sh +++ b/recipes/prboom/recipe.sh @@ -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 }