commit: 6eaad5d28bac53ac7fc7f7eb0c58b26ad0fde795 Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org> AuthorDate: Sun Oct 9 14:35:34 2016 +0000 Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org> CommitDate: Sun Oct 9 14:35:34 2016 +0000 URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=6eaad5d2
added cxxflags to support gcc-6 compilation eclass/mozcoreconf-v4.eclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eclass/mozcoreconf-v4.eclass b/eclass/mozcoreconf-v4.eclass index 07afd44..43a585b 100644 --- a/eclass/mozcoreconf-v4.eclass +++ b/eclass/mozcoreconf-v4.eclass @@ -212,6 +212,11 @@ mozconfig_init() { ;; esac + # We need to append flags for gcc-6 support + if [[ $(gcc-major-version) -ge 6 ]]; then + append-cxxflags fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2 + fi + # Go a little faster; use less RAM append-flags "$MAKEEDIT_FLAGS"