summaryrefslogtreecommitdiff
path: root/games/gw-libretro/gw-libretro.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-11-04 20:52:57 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:46:48 +0700
commit3e2165314140faecdcd3570dabe223085cb6fac4 (patch)
tree0109128eef6cf609751e29b13e42f962057f2b23 /games/gw-libretro/gw-libretro.SlackBuild
parent7102a4e0253129081973e20a36842822b0cb4b1a (diff)
downloadslackbuilds-3e2165314140faecdcd3570dabe223085cb6fac4.tar.gz
games/gw-libretro: Updated for version 2018.10.03_dea8b93.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/gw-libretro/gw-libretro.SlackBuild')
-rw-r--r--games/gw-libretro/gw-libretro.SlackBuild21
1 files changed, 4 insertions, 17 deletions
diff --git a/games/gw-libretro/gw-libretro.SlackBuild b/games/gw-libretro/gw-libretro.SlackBuild
index e4275e09e0..73e37436b1 100644
--- a/games/gw-libretro/gw-libretro.SlackBuild
+++ b/games/gw-libretro/gw-libretro.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gw-libretro
-# 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=gw-libretro
LIBNAM=$(echo $PRGNAM | tr - _)
-VERSION=${VERSION:-2017.12.10_8f054a1}
+VERSION=${VERSION:-2018.10.03_dea8b93}
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