summaryrefslogtreecommitdiff
path: root/development/rarian/rarian.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/rarian/rarian.SlackBuild')
-rw-r--r--development/rarian/rarian.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/development/rarian/rarian.SlackBuild b/development/rarian/rarian.SlackBuild
index 116945594e..020bf5f9ef 100644
--- a/development/rarian/rarian.SlackBuild
+++ b/development/rarian/rarian.SlackBuild
@@ -4,6 +4,7 @@
# Copyright (c) 2009 Andrzej Telszewski <atelszewski@gmail.com>
# All rights reserved.
+# updates copyright (c) 2016 Tim Dickson <dickson.tim@googlemail.com>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
@@ -38,7 +39,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
@@ -51,8 +52,8 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="MAINTAINERS TODO COPYING NEWS README INSTALL COPYING.UTILS COPYING.LIB ChangeLog"
-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"