From 0aaa8b7884a1dace3aee5fc3be42cfcbb77b09c7 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 21 Mar 2017 14:00:24 -0400 Subject: [PATCH] system/passwdqc: i486=>i586. Signed-off-by: B. Watson Signed-off-by: David Spencer --- system/passwdqc/passwdqc.SlackBuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/system/passwdqc/passwdqc.SlackBuild b/system/passwdqc/passwdqc.SlackBuild index 8a0c2dbd8d..db014e5915 100644 --- a/system/passwdqc/passwdqc.SlackBuild +++ b/system/passwdqc/passwdqc.SlackBuild @@ -11,7 +11,7 @@ TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -22,8 +22,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/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" @@ -51,7 +51,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Compile the application and install it into the $PKG directory make utils make install_lib DESTDIR=$PKG MANDIR=/usr/man SHARED_LIBDIR=/usr/lib${LIBDIRSUFFIX} SHARED_LIBDIR_SUN=/usr/lib${LIBDIRSUFFIX} DEVEL_LIBDIR=/usr/lib${LIBDIRSUFFIX} make install_utils DESTDIR=$PKG MANDIR=/usr/man SHARED_LIBDIR=/usr/lib${LIBDIRSUFFIX} SHARED_LIBDIR_SUN=/usr/lib${LIBDIRSUFFIX} DEVEL_LIBDIR=/usr/lib${LIBDIRSUFFIX}