diff options
author | 2015-06-23 19:37:16 +0200 | |
---|---|---|
committer | 2015-06-23 19:37:16 +0200 | |
commit | a5ec25be61777284cc15c42d6574b33388932ee9 (patch) | |
tree | 2c5260e16e2ea73d748e19f446a48487c65f555a /sci-mathematics/petsc/files/petsc-3.6.0-disable-rpath.patch | |
parent | Merge pull request #444 from TheChymera/pythontex (diff) | |
download | sci-a5ec25be61777284cc15c42d6574b33388932ee9.tar.gz sci-a5ec25be61777284cc15c42d6574b33388932ee9.tar.bz2 sci-a5ec25be61777284cc15c42d6574b33388932ee9.zip |
version bump
Package-Manager: portage-2.2.18
Diffstat (limited to 'sci-mathematics/petsc/files/petsc-3.6.0-disable-rpath.patch')
-rw-r--r-- | sci-mathematics/petsc/files/petsc-3.6.0-disable-rpath.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sci-mathematics/petsc/files/petsc-3.6.0-disable-rpath.patch b/sci-mathematics/petsc/files/petsc-3.6.0-disable-rpath.patch new file mode 100644 index 000000000..88a7db565 --- /dev/null +++ b/sci-mathematics/petsc/files/petsc-3.6.0-disable-rpath.patch @@ -0,0 +1,17 @@ +diff --git a/config/BuildSystem/config/setCompilers.py b/config/BuildSystem/config/setCompilers.py +--- 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 = ['-Wl,-rpath,'] +- # 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: |