From 1286d982781c4d5bb009e3e8189ccbe0bcbf0f4b Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 20 Dec 2022 16:02:15 +0100 Subject: [PATCH] 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. --- src/bootstrap/native.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index f6c453ebe107..8052bde6024e 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));