dev-libs/igraph: mark as LTO-unsafe, strict-aliasing unsafe

Only in 0.10.4, as it is fixed and backported into the ~arch version.

Bug: https://bugs.gentoo.org/924864
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Eli Schwartz
2024-03-11 14:22:51 +00:00
committed by Sam James
parent 37bd1334b4
commit cccba67944
+8 -2
View File
@@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
inherit cmake flag-o-matic
DESCRIPTION="Creating and manipulating undirected and directed graphs"
HOMEPAGE="https://igraph.org/"
@@ -27,6 +27,12 @@ RDEPEND="
DEPEND="${RDEPEND}"
src_configure() {
# -Werror=strict-aliasing
#
# Fixed in upstream git master.
append-flags -fno-strict-aliasing
filter-lto
local mycmakeargs=(
-DUSE_CCACHE=OFF
-DIGRAPH_GLPK_SUPPORT=ON