From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BBF94138330 for ; Sun, 9 Oct 2016 14:35:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 73EA5E0914; Sun, 9 Oct 2016 14:35:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 44033E0914 for ; Sun, 9 Oct 2016 14:35:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B6049341602 for ; Sun, 9 Oct 2016 14:35:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 315A42492 for ; Sun, 9 Oct 2016 14:35:42 +0000 (UTC) From: "Ian Stakenvicius" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Stakenvicius" Message-ID: <1476023734.6eaad5d28bac53ac7fc7f7eb0c58b26ad0fde795.axs@gentoo> Subject: [gentoo-commits] proj/mozilla:master commit in: eclass/ X-VCS-Repository: proj/mozilla X-VCS-Files: eclass/mozcoreconf-v4.eclass X-VCS-Directories: eclass/ X-VCS-Committer: axs X-VCS-Committer-Name: Ian Stakenvicius X-VCS-Revision: 6eaad5d28bac53ac7fc7f7eb0c58b26ad0fde795 X-VCS-Branch: master Date: Sun, 9 Oct 2016 14:35:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a9202192-4fe4-40cf-ae04-2d081cef85db X-Archives-Hash: afb587daf91ed983e2d8bf3dfe733729 commit: 6eaad5d28bac53ac7fc7f7eb0c58b26ad0fde795 Author: Ian Stakenvicius gentoo org> AuthorDate: Sun Oct 9 14:35:34 2016 +0000 Commit: Ian Stakenvicius gentoo 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"