diff options
Diffstat (limited to 'games/Genesis-Plus-GX/Genesis-Plus-GX.SlackBuild')
-rw-r--r-- | games/Genesis-Plus-GX/Genesis-Plus-GX.SlackBuild | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/games/Genesis-Plus-GX/Genesis-Plus-GX.SlackBuild b/games/Genesis-Plus-GX/Genesis-Plus-GX.SlackBuild index df36f71ac6..48faff4408 100644 --- a/games/Genesis-Plus-GX/Genesis-Plus-GX.SlackBuild +++ b/games/Genesis-Plus-GX/Genesis-Plus-GX.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=Genesis-Plus-GX LIBNAM=$(echo $PRGNAM | tr [A-Z] [a-z] | tr - _)_libretro -VERSION=${VERSION:-2018.01.31_726b711} +VERSION=${VERSION:-2018.10.08_2ab02c8} 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 |