[cpl-plugin-xsh] 01/01: Remove '--no-as-needed' ld flag: not needed anymore
Ole Streicher
olebole-guest at alioth.debian.org
Sat Nov 2 15:38:25 UTC 2013
This is an automated email from the git hooks/post-receive script.
olebole-guest pushed a commit to branch debian
in repository cpl-plugin-xsh.
commit 4490b83764bf05a9ef80e81827bdf263466797eb
Author: Ole Streicher <debian at liska.ath.cx>
Date: Sat Nov 2 16:37:52 2013 +0100
Remove '--no-as-needed' ld flag: not needed anymore
---
debian/patches/lapack.patch | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/debian/patches/lapack.patch b/debian/patches/lapack.patch
index b0481a1..5a52345 100644
--- a/debian/patches/lapack.patch
+++ b/debian/patches/lapack.patch
@@ -1,5 +1,7 @@
Author: Ole Streicher <debian at liska.ath.cx>
-Description: Replace clapack by lapack
+Description: Replace clapack by lapack.
+ Gnu Fortran uses the same calling interface as F2c. Therefore, just the C prototypes
+ are needed. The only recipe using lapack is xsh_subtract_sky_single.
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -7,7 +7,7 @@
@@ -21,17 +23,15 @@ Description: Replace clapack by lapack
# Check for the lapack library
-@@ -100,8 +99,8 @@
+@@ -100,7 +99,7 @@
LAPACK_LDFLAGS="-L$xsh_lapack_libraries"
LDFLAGS="$LDFLAGS $LAPACK_LDFLAGS"
CPPFLAGS="$CPPFLAGS $LAPACK_INCLUDES"
- AC_CHECK_LIB([clapack], [main], [LIBLAPACKC="-lclapack"], AC_MSG_ERROR([Library clapack not found]))
-- LIBS="$LIBS $LIBLAPACKC"
+ AC_CHECK_LIB([lapack], [main], [LIBLAPACKC="-llapack"], AC_MSG_ERROR([Library lapacke not found]))
-+ LIBS="$LIBS $LIBLAPACKC -Wl,--no-as-needed"
+ LIBS="$LIBS $LIBLAPACKC"
LIBLAPACK="$LIBLAPACKC"
else
- AC_MSG_RESULT([disabled])
--- a/xsh/xsh_subtract_sky_single.c
+++ b/xsh/xsh_subtract_sky_single.c
@@ -67,9 +67,10 @@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cpl-plugin-xsh.git
More information about the debian-science-commits
mailing list