summaryrefslogtreecommitdiffstats
path: root/games/libretro-prboom/libretro-prboom.SlackBuild
diff options
context:
space:
mode:
author Hunter Sezen2018-11-04 21:59:07 +0100
committer Willy Sudiarto Raharjo2018-11-10 01:46:49 +0100
commit7b3360d3b68bf5116c0f078a9f2fbf0733c7cc96 (patch)
tree7633913ac414906ae62021cb07c5adff888d3aba /games/libretro-prboom/libretro-prboom.SlackBuild
parentcce70ddff3e32e6be4af21069544579389ba94b8 (diff)
downloadslackbuilds-7b3360d3b68bf5116c0f078a9f2fbf0733c7cc96.tar.gz
games/libretro-prboom: Updated for version 2018.09.30_b516a66.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/libretro-prboom/libretro-prboom.SlackBuild')
-rw-r--r--games/libretro-prboom/libretro-prboom.SlackBuild21
1 files changed, 4 insertions, 17 deletions
diff --git a/games/libretro-prboom/libretro-prboom.SlackBuild b/games/libretro-prboom/libretro-prboom.SlackBuild
index de976eb0d2..86e8657993 100644
--- a/games/libretro-prboom/libretro-prboom.SlackBuild
+++ b/games/libretro-prboom/libretro-prboom.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libretro-prboom
-# Copyright 2016-2017 Hunter Sezen
+# Copyright 2016-2018 Hunter Sezen
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=libretro-prboom
LIBNAM=prboom_libretro
-VERSION=${VERSION:-2017.10.23_79bcd0b}
+VERSION=${VERSION:-2018.09.30_b516a66}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,21 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# requires patching the Makefile to properly use
-# the default CFLAGS and CXXFLAGS are probably fine
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
+LIBDIRSUFFIX=
+[ "$ARCH" = x86_64 ] && LIBDIRSUFFIX=64
set -eu