1 |
2015-02-11 11:14 GMT-07:00 Andrew Savchenko <bircoph@g.o>: |
2 |
> Hello, |
3 |
> |
4 |
> attached patch adds Fortran compiler to Gentoo override rules in |
5 |
> cmake-utils.eclass the same way C/C++ compilers are added. |
6 |
> |
7 |
> This change is needed because packages which force their own |
8 |
> precedence of Fortran compilers or flags also exists. We hit this |
9 |
> issue on bug 486626 [1] for sci-libs/lapacke-reference (science |
10 |
> overlay): if multiple Fortran compilers are installed, e.g. pathf95 |
11 |
> and gfortran, package prefers pathf95 — this may even broke build, |
12 |
> because most FCFLAGS are not compatible between this compilers |
13 |
> |
14 |
> In order to fix this FC should be set from $(tc-getFC), which is |
15 |
> implemented in proposed patch as well as ensuring proper flags are |
16 |
> set. |
17 |
> |
18 |
> This change was already discussed with KDE team [1] and I'm going to |
19 |
> commit this patch after feedback or in a week if there are no |
20 |
> objections. |
21 |
+1 |
22 |
|
23 |
> |
24 |
> [1] https://bugs.gentoo.org/show_bug.cgi?id=486626 |
25 |
> |
26 |
> Best regards, |
27 |
> Andrew Savchenko |
28 |
|
29 |
|
30 |
|
31 |
-- |
32 |
Christoph Junghans |
33 |
http://dev.gentoo.org/~ottxor/ |