diff options
Diffstat (limited to 'slackware64-current/source/ap/itstool')
-rwxr-xr-x | slackware64-current/source/ap/itstool/itstool.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/slackware64-current/source/ap/itstool/itstool.SlackBuild b/slackware64-current/source/ap/itstool/itstool.SlackBuild index b42609eb8..2064cb6f1 100755 --- a/slackware64-current/source/ap/itstool/itstool.SlackBuild +++ b/slackware64-current/source/ap/itstool/itstool.SlackBuild @@ -27,7 +27,7 @@ BUILD=${BUILD:-1} # 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*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;; # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$(uname -m) ;; @@ -41,8 +41,8 @@ CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-$PKGNAM -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" |