diff options
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r-- | www-client/chromium/files/chromium-123-compiler.patch | 11 |
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. |