summaryrefslogtreecommitdiff
path: root/misc/sdcv
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:33:22 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:23 -0400
commit16650580e143fb682f15f11ccfc569f6243ee528 (patch)
treeb0008e472a6b03d044dac7f2080eadb16ee8dd69 /misc/sdcv
parent6b9bb4a06255125d72c63e84b4862a8c919996bd (diff)
downloadslackbuilds-16650580e143fb682f15f11ccfc569f6243ee528.tar.gz
misc/sdcv: Change i486 to i586
Diffstat (limited to 'misc/sdcv')
-rw-r--r--misc/sdcv/sdcv.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/sdcv/sdcv.SlackBuild b/misc/sdcv/sdcv.SlackBuild
index 9f38341998..50c28f0698 100644
--- a/misc/sdcv/sdcv.SlackBuild
+++ b/misc/sdcv/sdcv.SlackBuild
@@ -32,7 +32,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
@@ -50,8 +50,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"