1
0
Fork 0
mirror of https://github.com/klzgrad/naiveproxy.git synced 2025-04-03 13:53:37 +03:00

mipsel: build: Disable ELF CREL

This commit is contained in:
klzgrad 2025-01-14 21:59:22 +08:00
parent ee216f95c6
commit 8b0ad892cc

View file

@ -630,6 +630,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" ]
}