mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2026-05-28 18:06:32 +03:00
Fix segfault on ARM by ELF CREL
This commit is contained in:
@@ -628,7 +628,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 &&
|
||||
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" ]
|
||||
|
||||
Reference in New Issue
Block a user