diff options
| author | Nikita Popov <npopov@redhat.com> | 2022-12-20 16:02:15 +0100 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2022-12-21 12:56:40 +0100 |
| commit | 1286d982781c4d5bb009e3e8189ccbe0bcbf0f4b (patch) | |
| tree | 4a805670bdc17a09ac21d1a3e99122a56887f59e | |
| parent | 8a746f4ac3a489efb724cde813607f3b96c2df7b (diff) | |
| download | rust-1286d982781c4d5bb009e3e8189ccbe0bcbf0f4b.tar.gz rust-1286d982781c4d5bb009e3e8189ccbe0bcbf0f4b.zip | |
Don't explicitly set C++ standard for lld
LLVM does this itself since 606cb8548a1b7763e0c8489c5efe66803a7ede72, and 14 is no longer the correct standard when building lld 16, causing build failures.
| -rw-r--r-- | src/bootstrap/native.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index f6c453ebe10..8052bde6024 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -886,10 +886,6 @@ impl Step for Lld { ); } - // Explicitly set C++ standard, because upstream doesn't do so - // for standalone builds. - cfg.define("CMAKE_CXX_STANDARD", "14"); - cfg.build(); t!(File::create(&done_stamp)); |
