From 8977406979c53c22f7039d3f7432d8a26771e2af Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 9 Jul 2016 07:51:30 +0700 Subject: *.SlackBuild: Switch to i586. Signed-off-by: Willy Sudiarto Raharjo --- python-template.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python-template.SlackBuild') diff --git a/python-template.SlackBuild b/python-template.SlackBuild index 9734952..409a36f 100644 --- a/python-template.SlackBuild +++ b/python-template.SlackBuild @@ -56,7 +56,7 @@ TAG=${TAG:-_SBo} # the "_SBo" is required # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; @@ -68,8 +68,8 @@ TMP=${TMP:-/tmp/SBo} # For consistency's sake, use this PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" -- cgit v1.2.3