diff options
author | Pablo J. Santamaria <pablosantamaria@gmail.com> | 2010-09-10 23:31:30 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-09-12 23:08:51 -0500 |
commit | d31e70fb5d8e79781c40fa8f3a5ede6431077445 (patch) | |
tree | 0b0c890b38e1a6cfab687715661d4df2289712ca /libraries/blas/blas.SlackBuild | |
parent | 724a074e7a38679463b79d4439b6fc85f360a6b4 (diff) |
libraries/blas: Fix shared object building and linkage
* silly typo fix: s/W1/Wl/ (one-->ell)
* add "-std-legacy" to fortran compiler flags since some of
the code is old style Fortran
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/blas/blas.SlackBuild')
-rw-r--r-- | libraries/blas/blas.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/blas/blas.SlackBuild b/libraries/blas/blas.SlackBuild index 99b72613dfaa5..6833de0a7ecf9 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 ) |