summaryrefslogtreecommitdiff
path: root/academic/armadillo/armadillo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/armadillo/armadillo.SlackBuild')
-rw-r--r--academic/armadillo/armadillo.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/academic/armadillo/armadillo.SlackBuild b/academic/armadillo/armadillo.SlackBuild
index d627a6df2b..2035220bdb 100644
--- a/academic/armadillo/armadillo.SlackBuild
+++ b/academic/armadillo/armadillo.SlackBuild
@@ -23,15 +23,15 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=armadillo
-VERSION=${VERSION:-7.100.3}
+VERSION=${VERSION:-8.100.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
DOCS="README.txt examples/ index.html LICENSE.txt docs.html rcpp_armadillo_csda_2014.pdf"
-if [-z "$ARCH" ]; then
+if [ -z "$ARCH" ]; then
case "$(uname -m)" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$(uname -m) ;;
esac
@@ -42,8 +42,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"