diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-11-05 12:41:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-05 12:41:46 +0100 |
| commit | db665980e9379b89a87ac074aa20d5658a4e0f10 (patch) | |
| tree | 5e7d40bb36bab300ded9967ff580c57e2483e981 /compiler/rustc_codegen_llvm/src | |
| parent | 8acf40bd546258a70953187c950ea56d1a8f5bf2 (diff) | |
| parent | 9eb70d63357606ab3e70337aee7606b4fa185f60 (diff) | |
| download | rust-db665980e9379b89a87ac074aa20d5658a4e0f10.tar.gz rust-db665980e9379b89a87ac074aa20d5658a4e0f10.zip | |
Rollup merge of #116017 - Zalathar:darwin-stdlib, r=albertlarsan68
Don't pass `-stdlib=libc++` when building C files on macOS When using *Command Line Tools for Xcode* version 15.0, clang will warn about `argument unused during compilation: '-stdlib=libc++'` if this flag is present when compiling C files only (i.e. no C++ files). To avoid this warning, we can add the flag only to CXXFLAGS and not to CFLAGS. --- [Zulip thread](https://rust-lang.zulipchat.com/#narrow/stream/326414-t-infra.2Fbootstrap/topic/clang.20warning.3A.20argument.20unused.20during.20compilation.20.28libc.2B.2B.29)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
