diff options
author | Hunter Sezen <orbea@fredslev.dk> | 2018-11-04 21:01:24 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-10 07:46:50 +0700 |
commit | 1f3f488940e53f302c507b16abac2fc3f7c7d751 (patch) | |
tree | 38e8c06ef93fd644ae09237a19433e05decf665b /games/mame2000-libretro/mame2000-libretro.SlackBuild | |
parent | 4712566b8d8abf71e6c5bcecbd7c2e0154742bf6 (diff) |
games/mame2000-libretro: Updated for version 2018.09.30_12b5419.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/mame2000-libretro/mame2000-libretro.SlackBuild')
-rw-r--r-- | games/mame2000-libretro/mame2000-libretro.SlackBuild | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/games/mame2000-libretro/mame2000-libretro.SlackBuild b/games/mame2000-libretro/mame2000-libretro.SlackBuild index 0f304894ab302..81b5fc68272b4 100644 --- a/games/mame2000-libretro/mame2000-libretro.SlackBuild +++ b/games/mame2000-libretro/mame2000-libretro.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for mame2000-libretro -# Copyright 2017 Hunter Sezen California, USA +# Copyright 2017-2018 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=mame2000-libretro LIBNAM=$(echo $PRGNAM | tr - _) -VERSION=${VERSION:-2017.11.10_f8ae2de} +VERSION=${VERSION:-2018.09.30_12b5419} 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 |