diff options
author | Björn Bidar | 2021-01-03 03:33:44 +0200 |
---|---|---|
committer | Björn Bidar | 2021-01-03 16:52:48 +0200 |
commit | 7f494b67b528e2cee23db7701d8143257e742a51 (patch) | |
tree | 923c30b98a66b4257aaa7d2fcd6600bae9eac64c /mozilla-1644409.patch | |
parent | 78eda2b6d49cfd1e5fcbeb8b68f7bb03bf049e6f (diff) | |
download | aur-7f494b67b528e2cee23db7701d8143257e742a51.tar.gz |
Update to 84.0.1-1
- New upstream release
- Update unity-menubar patch from Ubuntu
- Update firefox-kde patches from openSUSE
- Drop patch to fix building against rust 1.48 as its commited
upstream MOZILLA#1667736
- No longer depend on cbindgen as newer versions now work when building
firefox
- Rebase patches
- system-sqlite
- system-harfbuzz
- system-graphite2
- system-dav1d
- sandbox needs to be built with --param lto-partitions=1 when GCC LTO is enabled
MOZILLA#1516803
- Use remoting name for GDK application names MOZILLA#1530052
- Disable elfhack
- Add several patches from/collected by Gentoo to improve PGO/LTO
builds with GCC
- Remove old PGO patch with workarounds that are no longer required for
PGP/LTO builds patch, move parts that are still needed to a patch
superseding it
- Use bld binutils linker instead of gold
(it crashed during linking:
"/usr/bin/ld.gold:
internal error in set_xindex, at /build/binutils/src/binutils-gdb/gold/object.h:1007")
Diffstat (limited to 'mozilla-1644409.patch')
-rw-r--r-- | mozilla-1644409.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mozilla-1644409.patch b/mozilla-1644409.patch new file mode 100644 index 000000000000..df284962d49c --- /dev/null +++ b/mozilla-1644409.patch @@ -0,0 +1,26 @@ + +# HG changeset patch +# User Mike Hommey <mh+mozilla@glandium.org> +# Date 1595595951 0 +# Node ID 795c8762b16bf8367fd1776e5b69f4d175715106 +# Parent 3077c06189677d30a3e4e066dea97f2e083c6501 +Bug 1644409 - Make --enable-lto=thin work with GCC. r=froydnj + +Differential Revision: https://phabricator.services.mozilla.com/D84773 + +diff --git a/build/moz.configure/lto-pgo.configure b/build/moz.configure/lto-pgo.configure +--- a/build/moz.configure/lto-pgo.configure ++++ b/build/moz.configure/lto-pgo.configure +@@ -265,7 +265,10 @@ + # instruction sets. + else: + num_cores = multiprocessing.cpu_count() +- cflags.append("-flto") ++ if len(value) and value[0].lower() == "full": ++ cflags.append("-flto") ++ else: ++ cflags.append("-flto=thin") + cflags.append("-flifetime-dse=1") + + ldflags.append("-flto=%s" % num_cores) +
\ No newline at end of file |