Commit 1b6c828
authored
[flang][driver] Don't use -whole-archive on Darwin (llvm#75393)
Direct follow-up of llvm#73124 - the linker on Darwin does not support
`-whole-archive`, so that needs to be removed from the linker
invocation.
For context:
* llvm#731241 parent d8941df commit 1b6c828
File tree
2 files changed
+15
-9
lines changed- clang/lib/Driver/ToolChains
- flang/test/Driver
2 files changed
+15
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1132 | 1132 | | |
1133 | 1133 | | |
1134 | 1134 | | |
1135 | | - | |
1136 | | - | |
| 1135 | + | |
| 1136 | + | |
1137 | 1137 | | |
1138 | 1138 | | |
1139 | 1139 | | |
1140 | 1140 | | |
1141 | 1141 | | |
1142 | 1142 | | |
| 1143 | + | |
| 1144 | + | |
1143 | 1145 | | |
1144 | | - | |
| 1146 | + | |
| 1147 | + | |
1145 | 1148 | | |
1146 | | - | |
1147 | | - | |
| 1149 | + | |
1148 | 1150 | | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
1149 | 1158 | | |
1150 | | - | |
1151 | | - | |
1152 | | - | |
1153 | 1159 | | |
1154 | 1160 | | |
1155 | 1161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments