mipsel: build: Disable ELF CREL

This commit is contained in:
klzgrad 2025-01-14 21:59:22 +08:00
parent c9971ef109
commit 476b562eed

View File

@ -620,6 +620,7 @@ config("compiler") {
# (excluding toolchains that use an older version of LLVM).
# TODO(crbug.com/376278218): This causes segfault on Linux ARM builds.
if (is_linux && !llvm_android_mainline && current_cpu != "arm" &&
current_cpu != "mipsel" && current_cpu != "mips64el" &&
default_toolchain != "//build/toolchain/cros:target") {
cflags += [ "-Wa,--crel,--allow-experimental-crel" ]
}