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:
Vladimír Čunát 2015-05-27 21:10:12 +02:00
parent 369f1a24f8
commit 8e4c911248

View file

@ -17,6 +17,7 @@ stdenv.mkDerivation rec {
--with-mpc=${libmpc}
'';
makeFlags = ["CC=clang"];
passthru.cc = stdenv.cc.cc;
meta = with stdenv.lib; {
description = "GNU Fortran compiler, part of the GNU Compiler Collection.";
homepage = "https://gcc.gnu.org/fortran/";