From 897ebb4b038ba8b44acab0959e73855ca79d3589 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 31 May 2023 00:47:38 -0400 Subject: games/eureka: Get rid of unused LIBDIRSUFFIX and SLKCFLAGS. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/eureka/eureka.SlackBuild | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'games') diff --git a/games/eureka/eureka.SlackBuild b/games/eureka/eureka.SlackBuild index e0a1038a4d871..b9da7267a7500 100644 --- a/games/eureka/eureka.SlackBuild +++ b/games/eureka/eureka.SlackBuild @@ -23,6 +23,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230531 bkw: remove unused SLKCFLAGS and LIBDIRSUFFIX variables. + # 20230108 bkw: BUILD=2 # - strip binary # - keep only useful parts of INSTALL.txt @@ -61,19 +63,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -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 +# fltk-config knows the right flags and lib dir, no SLKCFLAGS or LIBDIRSUFFIX. set -e -- cgit v1.2.3