File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -312,6 +312,7 @@ config.swift_indent = inferSwiftBinary('swift-indent')
312
312
config .swift_symbolgraph_extract = inferSwiftBinary ('swift-symbolgraph-extract' )
313
313
config .swift_api_extract = inferSwiftBinary ('swift-api-extract' )
314
314
config .clang = inferSwiftBinary ('clang' )
315
+ config .clangxx = inferSwiftBinary ('clang++' )
315
316
config .llvm_link = inferSwiftBinary ('llvm-link' )
316
317
config .swift_llvm_opt = inferSwiftBinary ('swift-llvm-opt' )
317
318
config .llvm_profdata = inferSwiftBinary ('llvm-profdata' )
@@ -1153,8 +1154,8 @@ if run_vendor == 'apple':
1153
1154
"-Xlinker -rpath -Xlinker /usr/lib/swift %s " )%
1154
1155
(xcrun_prefix , config .swiftc , target_options , config .swift_driver_test_options ))
1155
1156
config .target_clang = (
1156
- "%s clang++ %s" %
1157
- (xcrun_prefix , config .target_cc_options ))
1157
+ "%s %s %s" %
1158
+ (xcrun_prefix , config .clangxx , config . target_cc_options ))
1158
1159
1159
1160
config .target_build_swift_dylib = (
1160
1161
"%s -parse-as-library -emit-library -o '\\ 1' "
You can’t perform that action at this time.
0 commit comments