aragorn: fix build on darwin
Use environment-specified $CC for C compiler
This commit is contained in:
parent
6bbdbaabae
commit
6cc2d3e6f2
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user