aboutsummaryrefslogtreecommitdiff
path: root/games/beetle-lynx-libretro/beetle-lynx-libretro.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-11-04 20:22:17 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:46:44 +0700
commit11eec67b291d8478893a302dd9e598554d84d2db (patch)
tree87999fc9fb039b4190711dae5996900b0de924e7 /games/beetle-lynx-libretro/beetle-lynx-libretro.SlackBuild
parent432dc0c770499c3da6178d8388ea7db4aa358772 (diff)
games/beetle-lynx-libretro: Updated for version 2018.04.07_6816829.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/beetle-lynx-libretro/beetle-lynx-libretro.SlackBuild')
-rw-r--r--games/beetle-lynx-libretro/beetle-lynx-libretro.SlackBuild21
1 files changed, 4 insertions, 17 deletions
diff --git a/games/beetle-lynx-libretro/beetle-lynx-libretro.SlackBuild b/games/beetle-lynx-libretro/beetle-lynx-libretro.SlackBuild
index b72efd3bb1cd..43bde67dda4c 100644
--- a/games/beetle-lynx-libretro/beetle-lynx-libretro.SlackBuild
+++ b/games/beetle-lynx-libretro/beetle-lynx-libretro.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for beetle-lynx-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-lynx-libretro
LIBNAM=mednafen_lynx_libretro
-VERSION=${VERSION:-2017.12.17_bed327e}
+VERSION=${VERSION:-2018.04.07_6816829}
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