提交 b2bf0cde 编写于 作者: N Nikita Popov

Set CMAKE_CXX_STANDARD when compiling LLD

上级 9f128235
......@@ -520,6 +520,10 @@ fn run(self, builder: &Builder<'_>) -> PathBuf {
.define("LLVM_TABLEGEN_EXE", llvm_config.with_file_name("llvm-tblgen"));
}
// 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));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册