aragorn: fix build on darwin

Use environment-specified $CC for C compiler
This commit is contained in:
Ryan Burns 2020-09-23 20:45:21 -07:00
parent 6bbdbaabae
commit 6cc2d3e6f2

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
buildPhase = ''
gcc -O3 -ffast-math -finline-functions -o aragorn aragorn${version}.c
$CC -O3 -ffast-math -finline-functions -o aragorn aragorn${version}.c
'';
installPhase = ''