diff options
author | Hunter Sezen <orbea@fredslev.dk> | 2018-11-04 20:57:59 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-10 07:46:49 +0700 |
commit | d7bd07f4b57b81222b5d4338dc098e2557fd4804 (patch) | |
tree | c09bcc12ef3e4180121f1b4c3bc44245a1c51650 /games/libretro-handy/libretro-handy.SlackBuild | |
parent | 470a67f72c9633d627e2f55b3d331c42e63a7050 (diff) |
games/libretro-handy: Updated for version 2018.09.29_08cc633.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/libretro-handy/libretro-handy.SlackBuild')
-rw-r--r-- | games/libretro-handy/libretro-handy.SlackBuild | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/games/libretro-handy/libretro-handy.SlackBuild b/games/libretro-handy/libretro-handy.SlackBuild index cadaa5622595e..c2b9ca03ac6c4 100644 --- a/games/libretro-handy/libretro-handy.SlackBuild +++ b/games/libretro-handy/libretro-handy.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libretro-handy -# 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=libretro-handy LIBNAM=handy_libretro -VERSION=${VERSION:-2017.10.24_a4de67f} +VERSION=${VERSION:-2018.09.29_08cc633} 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 |