Skip to content

Commit 1286d98

Browse files
committed
Don't explicitly set C++ standard for lld
LLVM does this itself since 606cb85, and 14 is no longer the correct standard when building lld 16, causing build failures.
1 parent 8a746f4 commit 1286d98

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/bootstrap/native.rs

-4
Original file line numberDiff line numberDiff line change
@@ -886,10 +886,6 @@ impl Step for Lld {
886886
);
887887
}
888888

889-
// Explicitly set C++ standard, because upstream doesn't do so
890-
// for standalone builds.
891-
cfg.define("CMAKE_CXX_STANDARD", "14");
892-
893889
cfg.build();
894890

895891
t!(File::create(&done_stamp));

0 commit comments

Comments
 (0)