mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sci-libs/cgcode: workaround gcc 10 (fortran) failure
Closes: https://bugs.gentoo.org/722000 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils fortran-2 toolchain-funcs
|
||||
inherit eutils fortran-2 flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Conjugate gradient Codes for large sparse linear systems"
|
||||
HOMEPAGE="http://fetk.org/codes/cgcode/index.html"
|
||||
@@ -23,6 +23,10 @@ S="${WORKDIR}"/${PN}
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-gentoo.patch
|
||||
|
||||
# GCC 10 workaround
|
||||
# bug #722000
|
||||
append-fflags $(test-flags-FC -fallow-argument-mismatch)
|
||||
|
||||
cat >> make.inc <<- EOF
|
||||
F77 = $(tc-getFC)
|
||||
FFLAGS = ${FFLAGS}
|
||||
|
||||
Reference in New Issue
Block a user