diff --git a/config/compiler/BUILD.gn b/config/compiler/BUILD.gn index c09c9677b..3cfce80a1 100644 --- a/config/compiler/BUILD.gn +++ b/config/compiler/BUILD.gn @@ -721,14 +721,6 @@ config("compiler") { } else { cflags += [ "-ffp-contract=off" ] } - - # Enable ELF CREL (see crbug.com/357878242) for all platforms that use ELF. - # TODO(crbug.com/376278218): This causes segfault on Linux ARM builds. - # It also causes segfault on Linux s390x: - # https://github.com/llvm/llvm-project/issues/149511 - if (is_linux && use_lld && current_cpu != "arm" && current_cpu != "s390x") { - cflags += [ "-Wa,--crel,--allow-experimental-crel" ] - } } # C11/C++11 compiler flags setup.