We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcee667 commit 7a9b033Copy full SHA for 7a9b033
src/bootstrap/src/core/build_steps/llvm.rs
@@ -397,9 +397,6 @@ impl Step for Llvm {
397
|| target.contains("apple-watchos")
398
|| target.contains("apple-visionos")
399
{
400
- // These two defines prevent CMake from automatically trying to add a MacOSX sysroot, which leads to a compiler error.
401
- cfg.define("CMAKE_OSX_SYSROOT", "/");
402
- cfg.define("CMAKE_OSX_DEPLOYMENT_TARGET", "");
403
// Prevent cmake from adding -bundle to CFLAGS automatically, which leads to a compiler error because "-bitcode_bundle" also gets added.
404
cfg.define("LLVM_ENABLE_PLUGINS", "OFF");
405
// Zlib fails to link properly, leading to a compiler error.
0 commit comments