aboutsummaryrefslogtreecommitdiff
path: root/games/beetle-pcfx-libretro/beetle-pcfx-libretro.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-11-04 20:41:25 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:46:44 +0700
commitcdfb4c7ce79b09258b9fd1028b4779e58ebd3a7d (patch)
treea98d8b923f0a1ef26ed8b70090c1cbd0faa1b33b /games/beetle-pcfx-libretro/beetle-pcfx-libretro.SlackBuild
parentcb8e89cdba6a54b64a5b8ad27602c34b4d37776e (diff)
games/beetle-pcfx-libretro: Updated for version 2018.07.20_84b7ca6.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/beetle-pcfx-libretro/beetle-pcfx-libretro.SlackBuild')
-rw-r--r--games/beetle-pcfx-libretro/beetle-pcfx-libretro.SlackBuild21
1 files changed, 4 insertions, 17 deletions
diff --git a/games/beetle-pcfx-libretro/beetle-pcfx-libretro.SlackBuild b/games/beetle-pcfx-libretro/beetle-pcfx-libretro.SlackBuild
index 2fae90d8ed953..62a78508caee7 100644
--- a/games/beetle-pcfx-libretro/beetle-pcfx-libretro.SlackBuild
+++ b/games/beetle-pcfx-libretro/beetle-pcfx-libretro.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for beetle-pcfx-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=beetle-pcfx-libretro
LIBNAM=mednafen_pcfx_libretro
-VERSION=${VERSION:-2017.12.20_042fe51}
+VERSION=${VERSION:-2018.07.20_84b7ca6}
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