aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:54:46 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:46 -0400
commitc50550435be1d93abd8d46bddfdc13aa4c139dd8 (patch)
tree7d3e60ca47fb32b1fd7b414b8eb49e0fd56ee2d8
parent8bc9edde87bdb80106f6a3753b18df54fa61ae0a (diff)
python/python-discid: Change i486 to i586
-rw-r--r--python/python-discid/python-discid.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/python-discid/python-discid.SlackBuild b/python/python-discid/python-discid.SlackBuild
index 1a27d00093056..19743af162387 100644
--- a/python/python-discid/python-discid.SlackBuild
+++ b/python/python-discid/python-discid.SlackBuild
@@ -35,7 +35,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -53,8 +53,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"