aragorn: fix build on darwin
Use environment-specified $CC for C compiler
This commit is contained in:
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
gcc -O3 -ffast-math -finline-functions -o aragorn aragorn${version}.c
|
$CC -O3 -ffast-math -finline-functions -o aragorn aragorn${version}.c
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user