summaryrefslogtreecommitdiff
path: root/pgo-2.patch
diff options
context:
space:
mode:
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']