diff options
Diffstat (limited to 'games/beetle-psx-libretro/beetle-psx-libretro.SlackBuild')
-rw-r--r-- | games/beetle-psx-libretro/beetle-psx-libretro.SlackBuild | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/games/beetle-psx-libretro/beetle-psx-libretro.SlackBuild b/games/beetle-psx-libretro/beetle-psx-libretro.SlackBuild index 357c55b0ed70..bb5e84547b50 100644 --- a/games/beetle-psx-libretro/beetle-psx-libretro.SlackBuild +++ b/games/beetle-psx-libretro/beetle-psx-libretro.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=beetle-psx-libretro LIBNAM=mednafen_psx_libretro -VERSION=${VERSION:-2018.03.28_d469c7a} +VERSION=${VERSION:-2018.11.03_74bd755} 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 |