summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2021-05-01 10:34:21 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-02 17:20:57 +0700
commitf00d6044d647622da06dfde9d55935363f3fc4b3 (patch)
tree346af040921a70594a7ffac1e6fbff2909a6ca71
parentb5c21469387805784267aec0c3c1848b73c08024 (diff)
downloadslackbuilds-f00d6044d647622da06dfde9d55935363f3fc4b3.tar.gz
system/chrpath: s,i486,i586,g
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/chrpath/chrpath.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/chrpath/chrpath.SlackBuild b/system/chrpath/chrpath.SlackBuild
index cc2c4b6142..3724a7c08e 100644
--- a/system/chrpath/chrpath.SlackBuild
+++ b/system/chrpath/chrpath.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for chrpath
-# Copyright 2010-2016 Robby Workman, Tuscaloosa, Alabama, USA
+# Copyright 2010-2021 Robby Workman, Tuscaloosa, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -29,7 +29,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
@@ -40,8 +40,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"