mipsel: build: Disable ELF CREL
parent
5006a0ddee
commit
d292a42e4c
|
@ -619,7 +619,8 @@ 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 && use_lld && !llvm_android_mainline &&
|
||||
if (is_linux && use_lld && !llvm_android_mainline && current_cpu != "arm" &&
|
||||
current_cpu != "mipsel" && current_cpu != "mips64el" &&
|
||||
default_toolchain != "//build/toolchain/cros:target") {
|
||||
cflags += [ "-Wa,--crel,--allow-experimental-crel" ]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue