From 3f96d8705e253b7b8689d35616e3a85f42aaa136 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 27 Apr 2020 03:10:27 +0700 Subject: [PATCH] python3-xapp: Fix accident commit. Signed-off-by: Willy Sudiarto Raharjo --- python3-xapp/python3-xapp.SlackBuild | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/python3-xapp/python3-xapp.SlackBuild b/python3-xapp/python3-xapp.SlackBuild index 2f2d394..4f852f2 100644 --- a/python3-xapp/python3-xapp.SlackBuild +++ b/python3-xapp/python3-xapp.SlackBuild @@ -26,14 +26,7 @@ PRGNAM=python3-xapp VERSION=${VERSION:-2.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_csb} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch wget -c https://github.com/linuxmint/python3-xapp/archive/$VERSION/$PRGNAM-$VERSION.tar.gz @@ -42,20 +35,6 @@ TMP=${TMP:-/tmp/csb} 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 - set -e rm -rf $PKG