Skip to content

Commit 7a9b033

Browse files
committed
Remove Cmake iOS hack
1 parent fcee667 commit 7a9b033

File tree

1 file changed

+0
-3
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+0
-3
lines changed

src/bootstrap/src/core/build_steps/llvm.rs

-3
Original file line numberDiff line numberDiff line change
@@ -397,9 +397,6 @@ impl Step for Llvm {
397397
|| target.contains("apple-watchos")
398398
|| target.contains("apple-visionos")
399399
{
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", "");
403400
// Prevent cmake from adding -bundle to CFLAGS automatically, which leads to a compiler error because "-bitcode_bundle" also gets added.
404401
cfg.define("LLVM_ENABLE_PLUGINS", "OFF");
405402
// Zlib fails to link properly, leading to a compiler error.

0 commit comments

Comments
 (0)