replace: fix cross compilation
This commit is contained in:
parent
a81a917e67
commit
5f6a771d30
1 changed files with 5 additions and 1 deletions
|
@ -11,7 +11,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
makeFlags = [ "TREE=\$(out)" "MANTREE=\$(TREE)/share/man" ];
|
||||
makeFlags = [
|
||||
"TREE=\$(out)"
|
||||
"MANTREE=\$(TREE)/share/man"
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
sed -e "s@/bin/mv@$(type -P mv)@" -i replace.h
|
||||
|
|
Loading…
Reference in a new issue