Skip to content

Commit 6418ca2

Browse files
committed
lzdoom: fix building with newer GCC
LZDoom build fails using a recent GCC (14.x), due to C++ (new) dialect changes. As a workaround, disable the GTK launcher from build to avoid the compilation errors. We don't use it and it's only built of GTK3 dev libraries are detected, but disable it so the compilation is not attempted even when the GTK3 dev libraries are installed.
1 parent 1f70f09 commit 6418ca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scriptmodules/ports/lzdoom.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function build_lzdoom() {
3939
rm -rf release
4040
mkdir -p release
4141
cd release
42-
local params=(-DCMAKE_INSTALL_PREFIX="$md_inst" -DPK3_QUIET_ZIPDIR=ON -DCMAKE_BUILD_TYPE=Release)
42+
local params=(-DNO_GTK=On -DCMAKE_INSTALL_PREFIX="$md_inst" -DPK3_QUIET_ZIPDIR=ON -DCMAKE_BUILD_TYPE=Release)
4343
# Note: `-funsafe-math-optimizations` should be avoided, see: https://forum.zdoom.org/viewtopic.php?f=7&t=57781
4444
cmake "${params[@]}" ..
4545
make

0 commit comments

Comments
 (0)