Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/glm/
Date: Tue, 17 May 2022 01:16:17
Message-Id: 1652750138.122cd845c79ca3aee2ecbc8ed7cce797df1984da.sam@gentoo
1 commit: 122cd845c79ca3aee2ecbc8ed7cce797df1984da
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 17 01:15:35 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue May 17 01:15:38 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=122cd845
7
8 media-libs/glm: test for -fno-ipa-modref before using
9
10 Closes: https://bugs.gentoo.org/845105
11 Bug: https://bugs.gentoo.org/818235
12 Thanks-to: Jonathan Lovelace <kingjon3377 <AT> gmail.com>
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 media-libs/glm/glm-0.9.9.8-r1.ebuild | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
18 diff --git a/media-libs/glm/glm-0.9.9.8-r1.ebuild b/media-libs/glm/glm-0.9.9.8-r1.ebuild
19 index 1b411e2a5fab..32a1a04eaf5a 100644
20 --- a/media-libs/glm/glm-0.9.9.8-r1.ebuild
21 +++ b/media-libs/glm/glm-0.9.9.8-r1.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2021 Gentoo Authors
24 +# Copyright 1999-2022 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=7
28 @@ -26,7 +26,7 @@ src_configure() {
29 if use test; then
30 # See https://github.com/g-truc/glm/pull/1087
31 # https://bugs.gentoo.org/818235
32 - append-cxxflags -fno-ipa-modref
33 + test-flag-CXX -fno-ipa-modref && append-cxxflags -fno-ipa-modref
34
35 local mycmakeargs=(
36 -DGLM_TEST_ENABLE=ON