replace: Rely on cc-wrapper to export env var
This commit is contained in:
parent
936196129d
commit
10685e3956
@ -10,10 +10,6 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share/man";
|
makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share/man";
|
||||||
|
|
||||||
crossAttrs = {
|
|
||||||
makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share/man CC=${stdenv.cross.config}-gcc";
|
|
||||||
};
|
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
sed -e "s@/bin/mv@$(type -P mv)@" -i replace.h
|
sed -e "s@/bin/mv@$(type -P mv)@" -i replace.h
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user