diff --git a/src/build/config/compiler/BUILD.gn b/src/build/config/compiler/BUILD.gn index b42a5e1fa7..51ee4bba77 100644 --- a/src/build/config/compiler/BUILD.gn +++ b/src/build/config/compiler/BUILD.gn @@ -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" ] }