From f2c9cc86347c724bd723308876ff3a40902ce42d Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 4 Feb 2024 00:01:03 -0500 Subject: ??? --- www-client/chromium/files/chromium-123-compiler.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'www-client/chromium/files/chromium-123-compiler.patch') 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. -- cgit v1.2.3