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:
parent
edb487ac92
commit
b7733ec8ba
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue