Pass the toolchain directory to Xcode when installing LLDB.

This allows LLDB to be installed to a toolchain with any name, not
just XcodeDefault.xctoolchain.
This commit is contained in:
Sean Callanan
2015-11-05 14:52:27 -08:00
parent b7cbd95d13
commit c263d4b7da

View File

@@ -1847,7 +1847,7 @@ for deployment_target in "${NATIVE_TOOLS_DEPLOYMENT_TARGETS[@]}" "${CROSS_TOOLS_
Darwin)
set_lldb_build_mode
pushd ${LLDB_SOURCE_DIR}
xcodebuild -target toolchain -configuration ${LLDB_BUILD_MODE} install ${lldb_xcodebuild_options[@]} DSTROOT="${INSTALL_DESTDIR}"
xcodebuild -target toolchain -configuration ${LLDB_BUILD_MODE} install ${lldb_xcodebuild_options[@]} DSTROOT="${INSTALL_DESTDIR}" LLDB_TOOLCHAIN_PREFIX="${TOOLCHAIN_PREFIX}"
popd
continue
;;