summaryrefslogtreecommitdiff
path: root/mozilla-1669639.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-10-07 10:22:49 +0200
committerMartin Stransky <stransky@redhat.com>2020-10-07 10:22:49 +0200
commit2875cd508de555b42c81e91af5e335c880072f92 (patch)
treef5713b713423057df097cb5b7a29e667f2313c44 /mozilla-1669639.patch
parentAdded pgo build fix (diff)
downloadlibrewolf-fedora-ff-2875cd508de555b42c81e91af5e335c880072f92.tar.gz
librewolf-fedora-ff-2875cd508de555b42c81e91af5e335c880072f92.tar.bz2
librewolf-fedora-ff-2875cd508de555b42c81e91af5e335c880072f92.zip
Enabled LTO, added build fixes, removed unused patches
Diffstat (limited to 'mozilla-1669639.patch')
-rw-r--r--mozilla-1669639.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/mozilla-1669639.patch b/mozilla-1669639.patch
new file mode 100644
index 0000000..2d79542
--- /dev/null
+++ b/mozilla-1669639.patch
@@ -0,0 +1,15 @@
+diff -up firefox-81.0.1/build/mach_bootstrap.py.old firefox-81.0.1/build/mach_bootstrap.py
+--- firefox-81.0.1/build/mach_bootstrap.py.old 2020-10-06 14:16:06.212974910 +0200
++++ firefox-81.0.1/build/mach_bootstrap.py 2020-10-06 14:19:03.313179557 +0200
+@@ -507,7 +507,10 @@ class ImportHook(object):
+ # doesn't happen or because it doesn't matter).
+ if not os.path.exists(module.__file__[:-1]):
+ if os.path.exists(module.__file__):
+- os.remove(module.__file__)
++ try:
++ os.remove(module.__file__)
++ except:
++ pass
+ del sys.modules[module.__name__]
+ module = self(name, globals, locals, fromlist, level)
+
bgstack15