Files
chromium-dev/chromium-131-no-crel.patch

16 lines
645 B
Diff
Raw Normal View History

--- chromium-131.0.6724.0/build/config/compiler/BUILD.gn 2024/09/23 09:31:06 1.1
+++ chromium-131.0.6724.0/build/config/compiler/BUILD.gn 2024/09/23 09:31:30
@@ -553,12 +553,6 @@
ldflags += [ "-Wl,--color-diagnostics" ]
}
- # Enable ELF CREL (see crbug.com/357878242) for all platforms that use ELF
- # (excluding ChromeOS and NaCl toolchains). Exclude android because lld
- # crashes due to the partitions feature that Android uses.
- if (is_linux && !is_nacl) {
- cflags += [ "-Wa,--crel,--allow-experimental-crel" ]
- }
}
# Enable text section splitting only on linux when using lld for now. Other