summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-05-17 01:15:35 +0000
committerSam James <sam@gentoo.org>2022-05-17 01:15:38 +0000
commit122cd845c79ca3aee2ecbc8ed7cce797df1984da (patch)
tree5d4d5965cffafe8399c1f312f06ff9947f942844
parentapp-backup/bacula: add link to upstream slibtool bug (diff)
downloadgentoo-122cd845c79ca3aee2ecbc8ed7cce797df1984da.tar.gz
gentoo-122cd845c79ca3aee2ecbc8ed7cce797df1984da.tar.bz2
gentoo-122cd845c79ca3aee2ecbc8ed7cce797df1984da.zip
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@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--media-libs/glm/glm-0.9.9.8-r1.ebuild4
1 files 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 1b411e2a5fa..32a1a04eaf5 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