summaryrefslogtreecommitdiff
path: root/libraries/blas
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/blas')
-rw-r--r--libraries/blas/blas.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/blas/blas.SlackBuild b/libraries/blas/blas.SlackBuild
index 99b72613df..6833de0a7e 100644
--- a/libraries/blas/blas.SlackBuild
+++ b/libraries/blas/blas.SlackBuild
@@ -9,7 +9,7 @@
PRGNAM=blas
VERSION=${VERSION:-20070405}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Shared library version
@@ -60,12 +60,12 @@ find . \
-exec chmod 644 {} \;
# Build the object files and the static library
-make OPTS="$SLKCFLAGS" all
+make OPTS="$SLKCFLAGS -std=legacy" all
ranlib $PRGNAM\_LINUX.a
mkdir shared
( cd shared
ar -x ../$PRGNAM\_LINUX.a
- gcc -fPIC -lgfortran -shared *.o -W1,-soname,$PRGNAM.so.$SOMAJOR \
+ gcc -fPIC -lgfortran -shared *.o -Wl,-soname,lib$PRGNAM.so.$SOMAJOR \
-o lib$PRGNAM.so.$SOVERS
)