replace: Rely on cc-wrapper to export env var

This commit is contained in:
hsloan 2017-06-28 16:57:08 -04:00 committed by John Ericson
parent 936196129d
commit 10685e3956

View File

@ -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
''; '';