0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-11-01 19:38:56 +00:00
Files
termux-packages/x11-packages/chromium-host-tools/cr-patches/0007-compiler-disable-elf-crel.patch
2025-10-30 16:21:24 +08:00

12 lines
520 B
Diff

--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -685,7 +685,7 @@
# 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") {
+ if (is_linux && use_lld && current_cpu != "arm" && current_cpu != "s390x" && false) {
cflags += [ "-Wa,--crel,--allow-experimental-crel" ]
}
}