mipsel: build: Disable ELF CREL

136.0.7103.44
klzgrad 2025-01-14 21:59:22 +08:00
parent a8d2d08870
commit 0c642ca0f4
1 changed files with 1 additions and 0 deletions

View File

@ -618,6 +618,7 @@ config("compiler") {
# Enable ELF CREL (see crbug.com/357878242) for all platforms that use ELF
# (excluding toolchains that use an older version of LLVM).
if (is_linux && !llvm_android_mainline &&
current_cpu != "mipsel" && current_cpu != "mips64el" &&
default_toolchain != "//build/toolchain/cros:target") {
cflags += [ "-Wa,--crel,--allow-experimental-crel" ]
}