diff options
author | Björn Bidar | 2020-05-08 23:56:30 +0200 |
---|---|---|
committer | Björn Bidar | 2020-05-14 00:36:05 +0200 |
commit | 076043130ba141389beeaf5a4b69fad5f0bc852e (patch) | |
tree | 5c077c0689e5af77ed73e7b5ea798236a65740f1 /mozilla-1516803.patch | |
parent | 681d606ccc2217114f7c9360724c8ee64a15e08e (diff) | |
download | aur-076043130ba141389beeaf5a4b69fad5f0bc852e.tar.gz |
Upkg
- New upstream release
- Require graphite with mozilla additions for system-graphite
- Update firefox-kde patches from openSUSE
- Update unity-menubar patch from ubuntu
- Drop patch to workaround issue GCC/Clang6 not supporting class-temporary#6.7
Its already merged for Firefox 73.
- Updated pgo patches for KDE patchset
- Add patch to renable system-sqlite
- Add patch from MOZILLA#1624128 to fix builds with NSS 3.52
- Add patch to fix builds when GCC is used and LTO is enabled (MOZILLA#1516803)
- Add patch to disable elfhack to avoid build errors
Diffstat (limited to 'mozilla-1516803.patch')
-rw-r--r-- | mozilla-1516803.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mozilla-1516803.patch b/mozilla-1516803.patch new file mode 100644 index 000000000000..00e362540481 --- /dev/null +++ b/mozilla-1516803.patch @@ -0,0 +1,16 @@ +diff --git a/security/sandbox/linux/moz.build b/security/sandbox/linux/moz.build +--- a/security/sandbox/linux/moz.build ++++ b/security/sandbox/linux/moz.build +@@ -99,9 +99,8 @@ + # gcc lto likes to put the top level asm in syscall.cc in a different partition + # from the function using it which breaks the build. Work around that by + # forcing there to be only one partition. +-for f in CONFIG['OS_CXXFLAGS']: +- if f.startswith('-flto') and CONFIG['CC_TYPE'] != 'clang': +- LDFLAGS += ['--param lto-partitions=1'] ++if CONFIG['CC_TYPE'] != 'clang' and CONFIG['MOZ_LTO']: ++ LDFLAGS += ['--param', 'lto-partitions=1'] + + DEFINES['NS_NO_XPCOM'] = True + DisableStlWrapping() + |