summaryrefslogtreecommitdiff
path: root/libraries/lapack
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/lapack')
-rw-r--r--libraries/lapack/lapack.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/lapack/lapack.SlackBuild b/libraries/lapack/lapack.SlackBuild
index 03c28a6630..e4ef3e8596 100644
--- a/libraries/lapack/lapack.SlackBuild
+++ b/libraries/lapack/lapack.SlackBuild
@@ -8,7 +8,7 @@
PRGNAM=lapack
VERSION=${VERSION:-3.2.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
MAJOR=$(echo $VERSION | cut -d. -f1)
@@ -71,7 +71,7 @@ make OPTS="$SLKCFLAGS" NOOPT="$NOOPTFLAGS" lapacklib
mkdir shared_$PRGNAM
cd shared_$PRGNAM
ar -x ../lib$PRGNAM.a
- gcc -fPIC -lgfortran -shared *.o -W1,-soname,lib$PRGNAM.so.$MAJOR \
+ gcc -fPIC -lgfortran -shared *.o -Wl,-soname,lib$PRGNAM.so.$MAJOR \
-o lib$PRGNAM.so.$VERSION
)