gfortran-darwin: add cc
attribute to fix evaluation
Hopefully the value is reasonable. It's used on two places at least to find libs to link against.
This commit is contained in:
parent
369f1a24f8
commit
8e4c911248
@ -17,6 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
--with-mpc=${libmpc}
|
--with-mpc=${libmpc}
|
||||||
'';
|
'';
|
||||||
makeFlags = ["CC=clang"];
|
makeFlags = ["CC=clang"];
|
||||||
|
passthru.cc = stdenv.cc.cc;
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "GNU Fortran compiler, part of the GNU Compiler Collection.";
|
description = "GNU Fortran compiler, part of the GNU Compiler Collection.";
|
||||||
homepage = "https://gcc.gnu.org/fortran/";
|
homepage = "https://gcc.gnu.org/fortran/";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user