We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 112a65b commit fcee667Copy full SHA for fcee667
src/bootstrap/src/core/build_steps/llvm.rs
@@ -657,6 +657,10 @@ fn configure_cmake(
657
cfg.define("CMAKE_SYSTEM_NAME", "SunOS");
658
} else if target.contains("linux") {
659
cfg.define("CMAKE_SYSTEM_NAME", "Linux");
660
+ } else if target.contains("darwin") {
661
+ cfg.define("CMAKE_SYSTEM_NAME", "Darwin");
662
+ } else if target.contains("apple-ios") {
663
+ cfg.define("CMAKE_SYSTEM_NAME", "iOS");
664
} else {
665
builder.info(&format!(
666
"could not determine CMAKE_SYSTEM_NAME from the target `{target}`, build may fail",
0 commit comments