summaryrefslogtreecommitdiffstats
path: root/source/l/PyQt5_sip/PyQt5_sip.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/PyQt5_sip/PyQt5_sip.SlackBuild')
-rwxr-xr-xsource/l/PyQt5_sip/PyQt5_sip.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/l/PyQt5_sip/PyQt5_sip.SlackBuild b/source/l/PyQt5_sip/PyQt5_sip.SlackBuild
index 7c31ae234..3502d3286 100755
--- a/source/l/PyQt5_sip/PyQt5_sip.SlackBuild
+++ b/source/l/PyQt5_sip/PyQt5_sip.SlackBuild
@@ -29,14 +29,14 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=PyQt5_sip
SRCNAM=PyQt5_sip
VERSION=${VERSION:-$(echo $SRCNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$(uname -m)" in
- i?86) ARCH=i586 ;;
+ i?86) ARCH=i686 ;;
arm*) readelf /usr/bin/file -A | grep -E -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$(uname -m) ;;
@@ -55,9 +55,9 @@ fi
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=pentium4 -mtune=generic"
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SLKCFLAGS="-O2 -march=x86-64 -mtune=generic -fPIC"
elif [ "$ARCH" = "armv7hl" ]; then
SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
else