Skip to content

Commit c7e8ea2

Browse files
committed
scripts: gha: linux: build smaller SDL2 (without 2D renderer) for Linux as well
1 parent 1c1cf3d commit c7e8ea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/gha/build_linux.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ build_sdl2()
4242
# let's enable everything we can
4343
mkdir -p build || die
4444
pushd build || die
45-
cmake ../ -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$BUILDDIR"/SDL2_linux -DCMAKE_C_FLAGS=-O3 -DSDL_STATIC=OFF || die
45+
cmake ../ -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$BUILDDIR"/SDL2_linux -DCMAKE_C_FLAGS=-O3 -DSDL_STATIC=OFF -DSDL_RENDER=OFF || die
4646
ninja install -j$((N+1)) || die
4747
popd || die
4848
}

0 commit comments

Comments
 (0)