summaryrefslogtreecommitdiff
path: root/waterfox/mozilla-1516803.patch
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-01-15 11:59:22 -0500
committerB Stack <bgstack15@gmail.com>2019-01-15 11:59:22 -0500
commit93ec193d01debd136ee7bc0563f77afe3ed22d4e (patch)
treef6be51ea7be86ec05f9ea5bbd5ee212a9b0e36c2 /waterfox/mozilla-1516803.patch
parentMerge branch 'waterfox-bump' into 'master' (diff)
downloadstackrpms-93ec193d01debd136ee7bc0563f77afe3ed22d4e.tar.gz
stackrpms-93ec193d01debd136ee7bc0563f77afe3ed22d4e.tar.bz2
stackrpms-93ec193d01debd136ee7bc0563f77afe3ed22d4e.zip
waterfox ingest PGO fixes from chinfo
Diffstat (limited to 'waterfox/mozilla-1516803.patch')
-rw-r--r--waterfox/mozilla-1516803.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/waterfox/mozilla-1516803.patch b/waterfox/mozilla-1516803.patch
new file mode 100644
index 0000000..972d6fa
--- /dev/null
+++ b/waterfox/mozilla-1516803.patch
@@ -0,0 +1,14 @@
+diff -up Waterfox-ff4597172229f8d71940c3885b74b903b7b1821a/security/sandbox/linux/moz.build.1516803 Waterfox-ff4597172229f8d71940c3885b74b903b7b1821a/security/sandbox/linux/moz.build
+--- Waterfox-ff4597172229f8d71940c3885b74b903b7b1821a/security/sandbox/linux/moz.build.1516803 2019-01-08 11:39:44.002864753 -0200
++++ Waterfox-ff4597172229f8d71940c3885b74b903b7b1821a/security/sandbox/linux/moz.build 2019-01-08 11:40:38.624513603 -0200
+@@ -98,8 +98,8 @@ if CONFIG['GNU_CXX']:
+ # 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.
+-if '-flto' in CONFIG['OS_CXXFLAGS'] and not CONFIG['CLANG_CXX']:
+- LDFLAGS += ['--param lto-partitions=1']
++if CONFIG['CC_TYPE'] != 'clang':
++ LDFLAGS += ['--param', 'lto-partitions=1']
+
+ DEFINES['NS_NO_XPCOM'] = True
+ DISABLE_STL_WRAPPING = True
bgstack15