mipsel: build: Disable ELF CREL

This commit is contained in:
klzgrad
2025-01-14 21:59:22 +08:00
parent 0cee458d52
commit 6e2ebb7b33

View File

@ -694,6 +694,7 @@ config("compiler") {
# https://github.com/llvm/llvm-project/issues/149511
if (is_linux && use_lld && !llvm_android_mainline && current_cpu != "arm" &&
current_cpu != "s390x" &&
current_cpu != "mipsel" && current_cpu != "mips64el" &&
default_toolchain != "//build/toolchain/cros:target") {
cflags += [ "-Wa,--crel,--allow-experimental-crel" ]
}