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 67230138334 for ; Wed, 8 May 2019 17:05:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6037E08E8; Wed, 8 May 2019 17:05:22 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 99C14E08E8 for ; Wed, 8 May 2019 17:05:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 680D6343CAF for ; Wed, 8 May 2019 17:05:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 54E9A5EF for ; Wed, 8 May 2019 17:05:17 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1557335016.d102ca15be045ed97a4d91783c8a261ba363c104.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/pcsx2/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/pcsx2/pcsx2-9999.ebuild X-VCS-Directories: games-emulation/pcsx2/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: d102ca15be045ed97a4d91783c8a261ba363c104 X-VCS-Branch: master Date: Wed, 8 May 2019 17:05:17 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 549acaad-7807-4929-9cd9-c981d9e92e04 X-Archives-Hash: c126a375ec3800abdfd2cbc12d098d4a commit: d102ca15be045ed97a4d91783c8a261ba363c104 Author: Yuri Konotopov gnome org> AuthorDate: Mon May 6 11:34:41 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed May 8 17:03:36 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d102ca15 games-emulation/pcsx2: append -mxsave compiler flag with gcc >= 8.2 Closes: https://bugs.gentoo.org/685156 Closes: https://github.com/gentoo/gentoo/pull/11915 Signed-off-by: Yuri Konotopov gnome.org> Closes: https://github.com/gentoo/gentoo/pull/11915 Signed-off-by: Andreas Sturmlechner gentoo.org> games-emulation/pcsx2/pcsx2-9999.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild b/games-emulation/pcsx2/pcsx2-9999.ebuild index 8a2a3fc4c02..f287474f505 100644 --- a/games-emulation/pcsx2/pcsx2-9999.ebuild +++ b/games-emulation/pcsx2/pcsx2-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -45,6 +45,12 @@ pkg_setup() { if [[ $(gcc-major-version) -lt 4 || $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 8 ]] ; then die "${PN} does not compile with gcc less than 4.8" fi + + # -mxsave flag is needed when GCC >= 8.2 is used + # https://bugs.gentoo.org/685156 + if [[ $(gcc-major-version) -gt 8 || $(gcc-major-version) == 8 && $(gcc-minor-version) -ge 2 ]]; then + append-flags -mxsave + fi fi }