diff options
Diffstat (limited to 'sci-mathematics/petsc/files/petsc-3.1_p8-configure-pic.patch')
-rw-r--r-- | sci-mathematics/petsc/files/petsc-3.1_p8-configure-pic.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-mathematics/petsc/files/petsc-3.1_p8-configure-pic.patch b/sci-mathematics/petsc/files/petsc-3.1_p8-configure-pic.patch new file mode 100644 index 000000000..bbfdae1c8 --- /dev/null +++ b/sci-mathematics/petsc/files/petsc-3.1_p8-configure-pic.patch @@ -0,0 +1,11 @@ +--- config/BuildSystem/config/setCompilers.py.old 2010-09-07 21:41:32.693103846 +0200 ++++ config/BuildSystem/config/setCompilers.py 2010-09-07 21:41:45.322093881 +0200 +@@ -875,7 +875,7 @@ + languages.append('FC') + for language in languages: + self.pushLanguage(language) +- for testFlag in ['-PIC', '-fPIC', '-KPIC','-qpic']: ++ for testFlag in ['-fPIC', '-PIC', '-KPIC', '-qpic']: + try: + self.framework.logPrint('Trying '+language+' compiler flag '+testFlag) + if not self.checkLinkerFlag(testFlag): |