aboutsummaryrefslogtreecommitdiff
path: root/python/python3-py/python3-py.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-py/python3-py.SlackBuild')
-rw-r--r--python/python3-py/python3-py.SlackBuild17
1 files changed, 1 insertions, 16 deletions
diff --git a/python/python3-py/python3-py.SlackBuild b/python/python3-py/python3-py.SlackBuild
index 60be242f12..c97ea5ce32 100644
--- a/python/python3-py/python3-py.SlackBuild
+++ b/python/python3-py/python3-py.SlackBuild
@@ -27,13 +27,12 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-py
+SRCNAM=py
VERSION=${VERSION:-1.11.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-SRCNAM=py
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -51,20 +50,6 @@ 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
-
set -e
rm -rf $PKG