1
Fork 0

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.
This commit is contained in:
Nikita Popov 2022-12-20 16:02:15 +01:00
parent 8a746f4ac3
commit 1286d98278

View file

@ -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));