From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from SMTP.CITRIX.COM (smtp.citrix.com [66.165.176.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id CC92281F2B for ; Tue, 6 Dec 2016 04:04:03 -0800 (PST) X-IronPort-AV: E=Sophos;i="5.33,310,1477958400"; d="scan'208";a="393239451" From: Anthony PERARD To: CC: Jordan Justen , Laszlo Ersek , Anthony PERARD Date: Tue, 6 Dec 2016 12:03:25 +0000 Message-ID: <20161206120325.1425-3-anthony.perard@citrix.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161206120325.1425-1-anthony.perard@citrix.com> References: <20161206120325.1425-1-anthony.perard@citrix.com> MIME-Version: 1.0 Subject: [PATCH v2 2/2] OvmfPkg/build.sh: Use GCC49 toolchains with GCC 6.[0-2] X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2016 12:04:04 -0000 Content-Type: text/plain The goal of the patch is to avoid using -flto with GCC 6.0 to 6.2. This is to workaround a GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70955 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Anthony PERARD --- OvmfPkg/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvmfPkg/build.sh b/OvmfPkg/build.sh index 95fe8fb..b6e9360 100755 --- a/OvmfPkg/build.sh +++ b/OvmfPkg/build.sh @@ -102,7 +102,7 @@ case `uname` in 4.8.*) TARGET_TOOLS=GCC48 ;; - 4.9.*) + 4.9.*|6.[0-2].*) TARGET_TOOLS=GCC49 ;; *) -- Anthony PERARD