Skip to content

Commit d1a54a5

Browse files
authored
Merge pull request swiftlang#32802 from vedantk/pass-sysroot
[build-script] Tie llvm, swift, and lldb to the same sysroot
2 parents 4f10601 + b77d68a commit d1a54a5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utils/build-script-impl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,10 @@ function set_build_options_for_host() {
705705
# in the compiler checks CMake performs
706706
-DCMAKE_OSX_ARCHITECTURES="${architecture}"
707707
)
708+
709+
lldb_cmake_options+=(
710+
-DCMAKE_OSX_SYSROOT:PATH="${cmake_os_sysroot}"
711+
)
708712
;;
709713
esac
710714

0 commit comments

Comments
 (0)