We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ea8248 commit 3e0d599Copy full SHA for 3e0d599
eng/common/native/init-compiler.sh
@@ -132,8 +132,8 @@ if [[ -z "$CC" ]]; then
132
exit 1
133
fi
134
135
-# Only lld version >= 9 can be considered stable
136
-if [[ "$compiler" == "clang" && "$majorVersion" -ge 9 ]]; then
+# Only lld version >= 9 can be considered stable. lld doesn't support s390x.
+if [[ "$compiler" == "clang" && "$majorVersion" -ge 9 && "$build_arch" != "s390x" ]]; then
137
if "$CC" -fuse-ld=lld -Wl,--version >/dev/null 2>&1; then
138
LDFLAGS="-fuse-ld=lld"
139
0 commit comments