aboutsummaryrefslogtreecommitdiff
path: root/games/odamex/odamex.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/odamex/odamex.SlackBuild')
-rw-r--r--games/odamex/odamex.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/games/odamex/odamex.SlackBuild b/games/odamex/odamex.SlackBuild
index 11784389deb67..244daa0c53779 100644
--- a/games/odamex/odamex.SlackBuild
+++ b/games/odamex/odamex.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20220319 bkw: fix build on 32-bit.
# 20220208 bkw: BUILD=3, add the missing .diff...
# 20211231 bkw: BUILD=2.
# - the SDL2 segfault will likely be fixed soon (reported to PV, along
@@ -106,6 +107,10 @@ sed -i 's,OdaGetInstallDir(),"/usr/games",g' \
odalaunch/src/dlg_main.cpp \
odalaunch/src/dlg_config.cpp
+# 20220319 bkw: cmake brokenness, fix manually.
+sed -i '/-march=pentium-m/d' client/CMakeLists.txt
+SLKCFLAGS+=" -msse -msse2"
+
rm -rf build
mkdir -p build
cd build