hack for low-mem failures on F33 i686
This commit is contained in:
parent
fae6929da3
commit
39bdfb25f9
13
chromium-94.0.4606.81-i686-low-memory-linking-hacks.patch
Normal file
13
chromium-94.0.4606.81-i686-low-memory-linking-hacks.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -up chromium-94.0.4606.81/build/config/compiler/BUILD.gn.i686-hack chromium-94.0.4606.81/build/config/compiler/BUILD.gn
|
||||
--- chromium-94.0.4606.81/build/config/compiler/BUILD.gn.i686-hack 2021-10-20 15:56:09.409349920 -0400
|
||||
+++ chromium-94.0.4606.81/build/config/compiler/BUILD.gn 2021-10-20 15:57:30.409831217 -0400
|
||||
@@ -360,6 +360,9 @@ config("compiler") {
|
||||
if (fatal_linker_warnings && is_apple) {
|
||||
ldflags += [ "-Wl,-fatal_warnings" ]
|
||||
}
|
||||
+
|
||||
+ ldflags += [ "-Wl,--no-keep-memory" ]
|
||||
+ ldflags += [ "-Wl,--reduce-memory-overheads" ]
|
||||
}
|
||||
|
||||
if (is_clang && is_debug) {
|
@ -272,6 +272,8 @@ Patch11: chromium-92.0.4515.107-py2-bootstrap.patch
|
||||
# Add "Fedora" to the user agent string
|
||||
Patch12: chromium-86.0.4240.75-fedora-user-agent.patch
|
||||
|
||||
# Hack for low-mem failures on Fedora 33 i686
|
||||
Patch50: chromium-94.0.4606.81-i686-low-memory-linking-hacks.patch
|
||||
# Needs to be submitted..
|
||||
Patch51: chromium-76.0.3809.100-gcc-remoting-constexpr.patch
|
||||
# https://gitweb.gentoo.org/repo/gentoo.git/tree/www-client/chromium/files/chromium-unbundle-zlib.patch
|
||||
@ -996,6 +998,12 @@ udev.
|
||||
%patch11 -p1 -b .py3
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora} == 33
|
||||
%ifarch i686
|
||||
%patch50 -p1 -b .i686-hack
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# Short term fixes (usually gcc and backports)
|
||||
%patch51 -p1 -b .gcc-remoting-constexpr
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 8
|
||||
|
Loading…
Reference in New Issue
Block a user