mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user