miranda: fix cross-compilation
This commit is contained in:
parent
028ebdb0b0
commit
321cf71d34
1 changed files with 2 additions and 1 deletions
|
@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
makeFlags = [
|
||||
"CC=cc"
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
"CFLAGS=-O2"
|
||||
"PREFIX=${placeholder "out"}"
|
||||
];
|
||||
|
@ -62,6 +62,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postPatch = ''
|
||||
patchShebangs quotehostinfo
|
||||
substituteInPlace Makefile --replace strip '${stdenv.cc.targetPrefix}strip'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue