Skip to content

Commit

Permalink
Auto merge of #121426 - madsmtm:remove-cc-syslibroot, r=pnkfelix
Browse files Browse the repository at this point in the history
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/rust#56833 for when the `-isysroot` was originally added, but didn't remove the unnecessary linker flag.

CC `@BlackHoleFox`
r? shepmaster
  • Loading branch information
bors committed Apr 12, 2024
2 parents 380902c + 8c612ad commit c1b399b
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit c1b399b

Please sign in to comment.