games/zdoom: 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-18 14:33:48 -04:00 committed by Willy Sudiarto Raharjo
parent f52bd7d4cd
commit 7a9a796aa1
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,7 @@
# version had no license, modified version released under the WTFPL, # version had no license, modified version released under the WTFPL,
# see http://www.wtfpl.net/txt/copying/ for details. # see http://www.wtfpl.net/txt/copying/ for details.
# 20220318 bkw: fix 32-bit build (disable asm).
# 20211012 bkw: BUILD=2 # 20211012 bkw: BUILD=2
# - Fix -current build. # - Fix -current build.
# - New-style icons. # - New-style icons.
@ -147,7 +148,10 @@ sed -i '/REGEX *MATCH/s,\[3-9\],[1-9][0-9]*,g' game-music-emu/CMakeLists.txt
mkdir release mkdir release
cd release cd release
# 20220318 bkw: the x86 asm code won't build on 15.0, so it's disabled.
# The x86_64 build never used it.
cmake \ cmake \
-DNO_ASM=ON \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE="Release" \ -DCMAKE_BUILD_TYPE="Release" \