summaryrefslogtreecommitdiff
path: root/pgo-2.patch
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2019-02-18 00:07:18 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2019-02-18 00:07:18 -0800
commit63e1622a2b1a54c5f5dfce5f06e63fbc738e2207 (patch)
tree87f4ad1c59d1f9c7c647a8011d982d9c0f03681d /pgo-2.patch
parentUpdatde to 65.0.1 (diff)
downloadfirefox-esr-63e1622a2b1a54c5f5dfce5f06e63fbc738e2207.tar.xz
Swap back to using gcc | Now with lto and pgo
Diffstat (limited to 'pgo-2.patch')
-rw-r--r--pgo-2.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pgo-2.patch b/pgo-2.patch
new file mode 100644
index 0000000..a55b635
--- /dev/null
+++ b/pgo-2.patch
@@ -0,0 +1,11 @@
+--- a/extensions/spellcheck/src/moz.build
++++ b/extensions/spellcheck/src/moz.build
+@@ -28,3 +28,8 @@ EXPORTS.mozilla += [
+
+ if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
+ CXXFLAGS += ['-Wno-error=shadow']
++
++# spell checker triggers bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88561
++# in gcc 7 and 8. It will be fixed in GCC 7.5 and 8.3
++if CONFIG['CC_TYPE'] in ('gcc'):
++ CXXFLAGS += ['-fno-devirtualize']