From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1397575-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 25D14158090
	for <garchives@archives.gentoo.org>; Tue, 17 May 2022 01:16:17 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6A30EE0882;
	Tue, 17 May 2022 01:16:16 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 44DB3E0882
	for <gentoo-commits@lists.gentoo.org>; Tue, 17 May 2022 01:16:16 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 53DF8341626
	for <gentoo-commits@lists.gentoo.org>; Tue, 17 May 2022 01:16:15 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 889F7445
	for <gentoo-commits@lists.gentoo.org>; Tue, 17 May 2022 01:16:13 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1652750138.122cd845c79ca3aee2ecbc8ed7cce797df1984da.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/glm/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-libs/glm/glm-0.9.9.8-r1.ebuild
X-VCS-Directories: media-libs/glm/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 122cd845c79ca3aee2ecbc8ed7cce797df1984da
X-VCS-Branch: master
Date: Tue, 17 May 2022 01:16:13 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 4f6670fa-5298-4d76-8fa9-e2ec74b14a4b
X-Archives-Hash: 261dcb899949058ee879a94ee0cd1fee

commit:     122cd845c79ca3aee2ecbc8ed7cce797df1984da
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 17 01:15:35 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 17 01:15:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=122cd845

media-libs/glm: test for -fno-ipa-modref before using

Closes: https://bugs.gentoo.org/845105
Bug: https://bugs.gentoo.org/818235
Thanks-to: Jonathan Lovelace <kingjon3377 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/glm/glm-0.9.9.8-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/glm/glm-0.9.9.8-r1.ebuild b/media-libs/glm/glm-0.9.9.8-r1.ebuild
index 1b411e2a5fab..32a1a04eaf5a 100644
--- a/media-libs/glm/glm-0.9.9.8-r1.ebuild
+++ b/media-libs/glm/glm-0.9.9.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -26,7 +26,7 @@ src_configure() {
 	if use test; then
 		# See https://github.com/g-truc/glm/pull/1087
 		# https://bugs.gentoo.org/818235
-		append-cxxflags -fno-ipa-modref
+		test-flag-CXX -fno-ipa-modref && append-cxxflags -fno-ipa-modref
 
 		local mycmakeargs=(
 			-DGLM_TEST_ENABLE=ON