diff options
Diffstat (limited to 'eclass/mozcoreconf-v4.eclass')
-rw-r--r-- | eclass/mozcoreconf-v4.eclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/mozcoreconf-v4.eclass b/eclass/mozcoreconf-v4.eclass index 2ab508b5dbd8..9d0334a189cf 100644 --- a/eclass/mozcoreconf-v4.eclass +++ b/eclass/mozcoreconf-v4.eclass @@ -208,6 +208,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" |