aboutsummaryrefslogtreecommitdiff
path: root/games/snes9x2010/snes9x2010.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-11-04 21:09:39 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:46:52 +0700
commit4b61fd3a13a93132ccfcdd5da64ee240a4b8e98a (patch)
treee9bdbf4fbd8a8b625ca1e67c87dd2ce28cd38c22 /games/snes9x2010/snes9x2010.SlackBuild
parent3eefdff793c5eb939c5a638a589404ee7ad7a1c8 (diff)
games/snes9x2010: Updated for version 2018.10.11_d857a31.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/snes9x2010/snes9x2010.SlackBuild')
-rw-r--r--games/snes9x2010/snes9x2010.SlackBuild21
1 files changed, 4 insertions, 17 deletions
diff --git a/games/snes9x2010/snes9x2010.SlackBuild b/games/snes9x2010/snes9x2010.SlackBuild
index 6c29cf9ef2954..4a89a5c96985d 100644
--- a/games/snes9x2010/snes9x2010.SlackBuild
+++ b/games/snes9x2010/snes9x2010.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for snes9x2010
-# Copyright 2016-2017 Hunter Sezen California, USA
+# Copyright 2016-2018 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=snes9x2010
LIBNAM=${PRGNAM}_libretro
-VERSION=${VERSION:-2017.12.16_e4c53fe}
+VERSION=${VERSION:-2018.10.11_d857a31}
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
GRIFFIN=${GRIFFIN:-0}