From a781327a4baae60217c1d76cd4b3cdc4c7f7be3d Mon Sep 17 00:00:00 2001 From: Sergey Torokhov Date: Fri, 2 Sep 2022 16:44:31 +0300 Subject: sys-cluster/opencoarrays: add filter-lto to fix compile error Closes: https://bugs.gentoo.org/860765 Signed-off-by: Sergey Torokhov --- sys-cluster/opencoarrays/opencoarrays-2.10.0.ebuild | 8 +++++++- sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild | 10 ++++------ sys-cluster/opencoarrays/opencoarrays-2.9.3.ebuild | 10 ++++------ 3 files changed, 15 insertions(+), 13 deletions(-) (limited to 'sys-cluster') diff --git a/sys-cluster/opencoarrays/opencoarrays-2.10.0.ebuild b/sys-cluster/opencoarrays/opencoarrays-2.10.0.ebuild index 951b82902..ca009c52c 100644 --- a/sys-cluster/opencoarrays/opencoarrays-2.10.0.ebuild +++ b/sys-cluster/opencoarrays/opencoarrays-2.10.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 CMAKE_MAKEFILE_GENERATOR=emake FORTRAN_STANDARD="2003" -inherit cmake fortran-2 +inherit cmake flag-o-matic fortran-2 MY_PN="OpenCoarrays" @@ -33,3 +33,9 @@ RDEPEND=" DEPEND=" ${RDEPEND} " + +src_configure() { + filter-lto # Bug 860765 + + cmake_src_configure +} diff --git a/sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild b/sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild index 993256530..ca009c52c 100644 --- a/sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild +++ b/sys-cluster/opencoarrays/opencoarrays-2.9.2.ebuild @@ -6,7 +6,7 @@ EAPI=8 CMAKE_MAKEFILE_GENERATOR=emake FORTRAN_STANDARD="2003" -inherit cmake fortran-2 +inherit cmake flag-o-matic fortran-2 MY_PN="OpenCoarrays" @@ -34,10 +34,8 @@ DEPEND=" ${RDEPEND} " -pkg_setup() { - fortran-2_pkg_setup -} +src_configure() { + filter-lto # Bug 860765 -src_test() { - cmake_build test + cmake_src_configure } diff --git a/sys-cluster/opencoarrays/opencoarrays-2.9.3.ebuild b/sys-cluster/opencoarrays/opencoarrays-2.9.3.ebuild index 993256530..ca009c52c 100644 --- a/sys-cluster/opencoarrays/opencoarrays-2.9.3.ebuild +++ b/sys-cluster/opencoarrays/opencoarrays-2.9.3.ebuild @@ -6,7 +6,7 @@ EAPI=8 CMAKE_MAKEFILE_GENERATOR=emake FORTRAN_STANDARD="2003" -inherit cmake fortran-2 +inherit cmake flag-o-matic fortran-2 MY_PN="OpenCoarrays" @@ -34,10 +34,8 @@ DEPEND=" ${RDEPEND} " -pkg_setup() { - fortran-2_pkg_setup -} +src_configure() { + filter-lto # Bug 860765 -src_test() { - cmake_build test + cmake_src_configure } -- cgit v1.2.3-65-gdbad