From 63e1622a2b1a54c5f5dfce5f06e63fbc738e2207 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Mon, 18 Feb 2019 00:07:18 -0800 Subject: Swap back to using gcc | Now with lto and pgo --- pgo-2.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pgo-2.patch (limited to 'pgo-2.patch') 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'] -- cgit v1.2.1