diff options
author | Hunter Sezen <orbea@fredslev.dk> | 2018-11-04 21:07:55 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-10 07:46:51 +0700 |
commit | 5fa794919d73346da86040496f87248a531b12db (patch) | |
tree | 467339ded410e3eb309316030447a9f3cb93f759 /games/mupen64plus-libretro/mupen64plus-libretro.SlackBuild | |
parent | 78e07572f976453c2749064eeb6cf9f75113dbf1 (diff) |
games/mupen64plus-libretro: Updated for version 2018.10.31_bb64262.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/mupen64plus-libretro/mupen64plus-libretro.SlackBuild')
-rw-r--r-- | games/mupen64plus-libretro/mupen64plus-libretro.SlackBuild | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/games/mupen64plus-libretro/mupen64plus-libretro.SlackBuild b/games/mupen64plus-libretro/mupen64plus-libretro.SlackBuild index f98f6e60733d7..1f86276c5a39a 100644 --- a/games/mupen64plus-libretro/mupen64plus-libretro.SlackBuild +++ b/games/mupen64plus-libretro/mupen64plus-libretro.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for mupen64plus-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=mupen64plus-libretro LIBNAM=$(printf %s "$PRGNAM" | tr - _) -VERSION=${VERSION:-2017.11.19_6f80cbc} +VERSION=${VERSION:-2018.10.31_bb64262} 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 |