aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:02:26 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:51 -0400
commita86b81b7ee9ca6b8c14b77dfc9cfa7cdc7283d0b (patch)
treee13ac63c7edbe203e630119afebbe85903842bca
parent7d598a3cea4f4e7e58ccc1d5a4299ae2684a200a (diff)
system/modules: Change i486 to i586
-rw-r--r--system/modules/modules.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/modules/modules.SlackBuild b/system/modules/modules.SlackBuild
index b4b8cb9a613c9..5028d6f6a64de 100644
--- a/system/modules/modules.SlackBuild
+++ b/system/modules/modules.SlackBuild
@@ -46,14 +46,14 @@ OUTPUT=${OUTPUT:-/tmp}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-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"