2015-02-11 11:14 GMT-07:00 Andrew Savchenko <birc...@gentoo.org>:
> Hello,
>
> attached patch adds Fortran compiler to Gentoo override rules in
> cmake-utils.eclass the same way C/C++ compilers are added.
>
> This change is needed because packages which force their own
> precedence of Fortran compilers or flags also exists. We hit this
> issue on bug 486626 [1] for sci-libs/lapacke-reference (science
> overlay): if multiple Fortran compilers are installed, e.g. pathf95
> and gfortran, package prefers pathf95 — this may even broke build,
> because most FCFLAGS are not compatible between this compilers
>
> In order to fix this FC should be set from $(tc-getFC), which is
> implemented in proposed patch as well as ensuring proper flags are
> set.
>
> This change was already discussed with KDE team [1] and I'm going to
> commit this patch after feedback or in a week if there are no
> objections.
+1

>
> [1] https://bugs.gentoo.org/show_bug.cgi?id=486626
>
> Best regards,
> Andrew Savchenko



-- 
Christoph Junghans
http://dev.gentoo.org/~ottxor/

Reply via email to