From b77d68a9f32b371278060f133a9514d7ba4bd5d5 Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Thu, 9 Jul 2020 17:10:16 -0700 Subject: [PATCH] [build-script] Tie llvm, swift, and lldb to the same sysroot rdar://62895058 --- utils/build-script-impl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/build-script-impl b/utils/build-script-impl index 71057c73630cb..6505a7ea71dc7 100755 --- a/utils/build-script-impl +++ b/utils/build-script-impl @@ -705,6 +705,10 @@ function set_build_options_for_host() { # in the compiler checks CMake performs -DCMAKE_OSX_ARCHITECTURES="${architecture}" ) + + lldb_cmake_options+=( + -DCMAKE_OSX_SYSROOT:PATH="${cmake_os_sysroot}" + ) ;; esac