summaryrefslogtreecommitdiff
path: root/www-client/chromium/files
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2024-02-04 00:01:03 -0500
committerGravatar Chris Xiong <chirs241097@gmail.com> 2024-02-04 00:01:03 -0500
commitf2c9cc86347c724bd723308876ff3a40902ce42d (patch)
tree7df27d5611d7153a012a72f60c79fa66a9d85343 /www-client/chromium/files
parent0965208704ef152be25dc1970d2d49134a1cfcf5 (diff)
downloadppo-f2c9cc86347c724bd723308876ff3a40902ce42d.tar.xz
???
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r--www-client/chromium/files/chromium-123-compiler.patch11
1 files changed, 10 insertions, 1 deletions
diff --git a/www-client/chromium/files/chromium-123-compiler.patch b/www-client/chromium/files/chromium-123-compiler.patch
index cf365fb..baf3deb 100644
--- a/www-client/chromium/files/chromium-123-compiler.patch
+++ b/www-client/chromium/files/chromium-123-compiler.patch
@@ -1,5 +1,5 @@
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
-index a91928eeac..afc87ad613 100644
+index a91928eeac..ea3333c50c 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -322,9 +322,6 @@ config("compiler") {
@@ -78,6 +78,15 @@ index a91928eeac..afc87ad613 100644
# C11/C++11 compiler flags setup.
# ---------------------------
if (is_linux || is_chromeos || is_android || (is_nacl && is_clang) ||
+@@ -816,7 +767,7 @@ config("compiler") {
+ if (!is_android || current_cpu == "arm64") {
+ cflags += [ "-fwhole-program-vtables" ]
+
+- if (toolchain_supports_rust_thin_lto) {
++ if (toolchain_supports_rust_thin_lto && !toolchain_supports_rust_thin_lto) {
+ # whole-program-vtables implies -fsplit-lto-unit, and Rust needs to match
+ # behaviour. Rust needs to know the linker will be doing LTO in this case
+ # or it rejects the Zsplit-lto-unit flag.
@@ -1013,17 +964,6 @@ config("compiler") {
# `-nodefaultlibs` from the linker invocation from Rust, which would be used
# to compile dylibs on Android, such as for constructing unit test APKs.