aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2015-03-13 14:19:23 +0100
committerJustin Lecher <jlec@gentoo.org>2015-03-14 09:21:00 +0100
commite5b32727b4eb32e49f03c780c8c6005ee42a2843 (patch)
treea52ad4278c63a141f929c06b25f9ba6fb22d3426 /sci-mathematics/petsc/files/petsc-3.5.3-disable-rpath.patch
parentdev-python/jupyter-nbviewer: Fix description (diff)
downloadsci-e5b32727b4eb32e49f03c780c8c6005ee42a2843.tar.gz
sci-e5b32727b4eb32e49f03c780c8c6005ee42a2843.tar.bz2
sci-e5b32727b4eb32e49f03c780c8c6005ee42a2843.zip
version bump
Package-Manager: portage-2.2.15
Diffstat (limited to 'sci-mathematics/petsc/files/petsc-3.5.3-disable-rpath.patch')
-rw-r--r--sci-mathematics/petsc/files/petsc-3.5.3-disable-rpath.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/sci-mathematics/petsc/files/petsc-3.5.3-disable-rpath.patch b/sci-mathematics/petsc/files/petsc-3.5.3-disable-rpath.patch
new file mode 100644
index 000000000..7fe3760c9
--- /dev/null
+++ b/sci-mathematics/petsc/files/petsc-3.5.3-disable-rpath.patch
@@ -0,0 +1,18 @@
+diff --git a/config/BuildSystem/config/setCompilers.py b/config/BuildSystem/config/setCompilers.py
+index 8e0d2ee..ce53ad0 100644
+--- a/config/BuildSystem/config/setCompilers.py
++++ b/config/BuildSystem/config/setCompilers.py
+@@ -1326,12 +1326,7 @@ class Configure(config.base.Configure):
+ for language in languages:
+ flag = '-L'
+ self.pushLanguage(language)
+- # test '-R' before '-rpath' as sun compilers [c,fortran] don't give proper errors with wrong options.
+- if not Configure.isDarwin():
+- testFlags = ['-Wl,-rpath,', '-R','-rpath ' , '-Wl,-R,']
+- else:
+- testFlags = []
+- # test '-R' before '-Wl,-rpath' for SUN compilers [as cc on linux accepts -Wl,-rpath, but f90 & CC do not.
++ testFlags = []
+ if self.isSun(self.framework.getCompiler()):
+ testFlags.insert(0,'-R')
+ for testFlag in testFlags: