summaryrefslogtreecommitdiff
path: root/games/4do-libretro/4do-libretro.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <orbea@fredslev.dk>2018-11-04 20:18:49 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-11-10 07:46:42 +0700
commit2dfc8fe72a25dd0472e6363718d83edd19aa9bd0 (patch)
treed442ecc9fb58c3a3f4fcdf14d946786833051933 /games/4do-libretro/4do-libretro.SlackBuild
parent53b9abad123436e29380ad278bebf472629692eb (diff)
downloadslackbuilds-2dfc8fe72a25dd0472e6363718d83edd19aa9bd0.tar.gz
games/4do-libretro: Updated for version 2018.09.29_e1fec6e.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/4do-libretro/4do-libretro.SlackBuild')
-rw-r--r--games/4do-libretro/4do-libretro.SlackBuild21
1 files changed, 4 insertions, 17 deletions
diff --git a/games/4do-libretro/4do-libretro.SlackBuild b/games/4do-libretro/4do-libretro.SlackBuild
index 9e7e807b6d..23e9ff32ef 100644
--- a/games/4do-libretro/4do-libretro.SlackBuild
+++ b/games/4do-libretro/4do-libretro.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for 4do-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=4do-libretro
LIBNAM=$(echo $PRGNAM | tr - _)
-VERSION=${VERSION:-2017.12.16_9a29f31}
+VERSION=${VERSION:-2018.09.29_e1fec6e}
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