aboutsummaryrefslogtreecommitdiff
blob: 88a7db565580706372d468fec4fe21a7c910bd0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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: