mipsel: build: Disable ELF CREL
This commit is contained in:
@ -694,6 +694,7 @@ config("compiler") {
|
|||||||
# https://github.com/llvm/llvm-project/issues/149511
|
# https://github.com/llvm/llvm-project/issues/149511
|
||||||
if (is_linux && use_lld && !llvm_android_mainline && current_cpu != "arm" &&
|
if (is_linux && use_lld && !llvm_android_mainline && current_cpu != "arm" &&
|
||||||
current_cpu != "s390x" &&
|
current_cpu != "s390x" &&
|
||||||
|
current_cpu != "mipsel" && current_cpu != "mips64el" &&
|
||||||
default_toolchain != "//build/toolchain/cros:target") {
|
default_toolchain != "//build/toolchain/cros:target") {
|
||||||
cflags += [ "-Wa,--crel,--allow-experimental-crel" ]
|
cflags += [ "-Wa,--crel,--allow-experimental-crel" ]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user