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