tm: fix darwin build
This commit is contained in:
parent
2ecb5ddea7
commit
1138b5dc7e
1 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,9 @@ stdenv.mkDerivation {
|
|||
|
||||
installPhase=''make install "PREFIX=$out"'';
|
||||
|
||||
patchPhase = ''sed -i 's@/usr/bin/install@install@g' Makefile'';
|
||||
patchPhase = ''
|
||||
sed -i 's@/usr/bin/install@install@g ; s/gcc/cc/g' Makefile
|
||||
'';
|
||||
|
||||
crossAttrs = {
|
||||
makeFlags = "CC=${stdenv.cross.config}-gcc";
|
||||
|
|
Loading…
Reference in a new issue