summaryrefslogtreecommitdiff
path: root/libraries/cdk
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:19:10 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:56 -0400
commit84a25b8b70f262e0ce5ca24c2c56e869e341b43f (patch)
treea15e2b7b0e35d7cb2f1e72edede47a9be4fe9a91 /libraries/cdk
parent1b06bb33a561d899637d627a0ddfab0ac0325452 (diff)
downloadslackbuilds-84a25b8b70f262e0ce5ca24c2c56e869e341b43f.tar.gz
libraries/cdk: Change i486 to i586
Diffstat (limited to 'libraries/cdk')
-rw-r--r--libraries/cdk/cdk.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/cdk/cdk.SlackBuild b/libraries/cdk/cdk.SlackBuild
index b8ef906e10..604ccb2b61 100644
--- a/libraries/cdk/cdk.SlackBuild
+++ b/libraries/cdk/cdk.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"