Skip to content

Commit da6a920

Browse files
committed
[GR-62881] LLVM_NINJA_TOOLCHAIN: pass -fuse-ld=lld on Darwin too
Workaround to avoid ABI mismatch of libLTO.dylib when the system linker is used, see llvm/llvm-project#109549 Use lld shipped with LLVM_TOOLCHAIN instead.
1 parent 676ed13 commit da6a920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/mx.sdk/suite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ class UniversalDetector {
13591359
AR=xcrun <path:LLVM_TOOLCHAIN>/bin/llvm-ar
13601360
CFLAGS=
13611361
CXXFLAGS=
1362-
LDFLAGS=
1362+
LDFLAGS=-fuse-ld=lld
13631363
'''
13641364
},
13651365
},

0 commit comments

Comments
 (0)