File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -2176,14 +2176,19 @@ for host in "${ALL_HOSTS[@]}"; do
2176
2176
libdispatch)
2177
2177
LIBDISPATCH_BUILD_DIR=$( build_directory ${host} ${product} )
2178
2178
SWIFT_BUILD_PATH=" $( build_directory ${host} swift) "
2179
+ SWIFTC_BIN=" $( build_directory_bin ${LOCAL_HOST} swift) /swiftc"
2180
+ LLVM_BIN=" $( build_directory_bin ${LOCAL_HOST} llvm) "
2179
2181
2180
2182
if [[ ! -f " ${LIBDISPATCH_BUILD_DIR} " /config.status ]]; then
2181
2183
# First time building; need to run autotools and configure
2182
2184
call mkdir -p " ${LIBDISPATCH_BUILD_DIR} "
2183
2185
with_pushd " ${LIBDISPATCH_SOURCE_DIR} " \
2184
2186
call autoreconf -fvi
2185
2187
with_pushd " ${LIBDISPATCH_BUILD_DIR} " \
2186
- call " ${LIBDISPATCH_SOURCE_DIR} " /configure --prefix=" $( get_host_install_destdir ${host} ) $( get_host_install_prefix ${host} ) " --with-swift-toolchain=" ${SWIFT_BUILD_PATH} "
2188
+ call env CC=" ${LLVM_BIN} /clang" CCX=" ${LLVM_BIN} /clang" SWIFTC=" ${SWIFTC_BIN} " \
2189
+ " ${LIBDISPATCH_SOURCE_DIR} " /configure --with-swift-toolchain=" ${SWIFT_BUILD_PATH} " \
2190
+ --prefix=" $( get_host_install_destdir ${host} ) $( get_host_install_prefix ${host} ) "
2191
+
2187
2192
fi
2188
2193
with_pushd " ${LIBDISPATCH_BUILD_DIR} " \
2189
2194
call make
You can’t perform that action at this time.
0 commit comments