This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 22a2425
committed
Auto merge of rust-lang#121426 - madsmtm:remove-cc-syslibroot, r=pnkfelix
Remove redundant `-Wl,-syslibroot`
Since `-isysroot` is set, [Clang already passes this when invoking the linker](https://github.com/llvm/llvm-project/blob/llvmorg-17.0.6/clang/lib/Driver/ToolChains/Darwin.cpp#L439-L442).
See rust-lang#56833 for when the `-isysroot` was originally added, but didn't remove the unnecessary linker flag.
CC `@BlackHoleFox`
r? shepmaster1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2987 | 2987 | | |
2988 | 2988 | | |
2989 | 2989 | | |
2990 | | - | |
| 2990 | + | |
| 2991 | + | |
| 2992 | + | |
| 2993 | + | |
| 2994 | + | |
| 2995 | + | |
| 2996 | + | |
2991 | 2997 | | |
2992 | 2998 | | |
2993 | 2999 | | |
| |||
0 commit comments