diff options
Diffstat (limited to 'games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild')
-rw-r--r-- | games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild b/games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild index 9a63346c90ea..994f3fa59448 100644 --- a/games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild +++ b/games/beetle-wswan-libretro/beetle-wswan-libretro.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for beetle-wswan-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-wswan-libretro LIBNAM=mednafen_wswan_libretro -VERSION=${VERSION:-2017.12.20_be2dcc5} +VERSION=${VERSION:-2018.09.30_207404b} 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 |