games/odamex: Fix 32-bit build.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-03-19 01:49:38 -04:00 committed by Willy Sudiarto Raharjo
parent edb487ac92
commit b7733ec8ba
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 5 additions and 0 deletions

View File

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