(self)
| 66 | return [] |
| 67 | |
| 68 | def get_flags_linker_so(self): |
| 69 | opt = FCompiler.get_flags_linker_so(self) |
| 70 | v = self.get_version() |
| 71 | if v and v >= '8.0': |
| 72 | opt.append('-nofor_main') |
| 73 | if sys.platform == 'darwin': |
| 74 | # Here, it's -dynamiclib |
| 75 | try: |
| 76 | idx = opt.index('-shared') |
| 77 | opt.remove('-shared') |
| 78 | except ValueError: |
| 79 | idx = 0 |
| 80 | opt[idx:idx] = ['-dynamiclib', '-Wl,-undefined,dynamic_lookup'] |
| 81 | return opt |
| 82 | |
| 83 | |
| 84 | class IntelItaniumFCompiler(IntelFCompiler): |
nothing calls this directly
no test coverage detected