diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-18 16:35:47 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-20 20:45:14 +0700 |
commit | bcb93bfc01d957d65dc44d152170c79f03b381b2 (patch) | |
tree | 3f4a0650c2bd8a2e0f25440bcb930b9a9e6c8a27 /games/gzdoom/gzdoom.SlackBuild | |
parent | 84540742bdcb5669cc9863016d5f89f592cc81be (diff) |
games/gzdoom: Fix 32-bit build (require SSE2).
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/gzdoom/gzdoom.SlackBuild')
-rw-r--r-- | games/gzdoom/gzdoom.SlackBuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/games/gzdoom/gzdoom.SlackBuild b/games/gzdoom/gzdoom.SlackBuild index 780f2f6f318ee..935c1bf0505e3 100644 --- a/games/gzdoom/gzdoom.SlackBuild +++ b/games/gzdoom/gzdoom.SlackBuild @@ -101,6 +101,10 @@ sed -i '1i#include <cmath>' \ src/rendering/swrenderer/drawers/r_draw.cpp \ src/rendering/swrenderer/viewport/r_spritedrawer.cpp +# 20220318 bkw: gzdoom requires SSE2. not a problem for x86_64, but we +# have to explicitly set the flags for the 32-bit build to succeed. +SLKCFLAGS+=" -msse -msse2" + mkdir -p build cd build cmake \ |