Making sysvinit and mingetty crossbuild
svn path=/nixpkgs/branches/stdenv-updates/; revision=24829
This commit is contained in:
@@ -14,6 +14,10 @@ stdenv.mkDerivation {
|
||||
|
||||
makeFlags = "SULOGINLIBS=-lcrypt ROOT=$(out) MANDIR=/share/man";
|
||||
|
||||
crossAttrs = {
|
||||
makeFlags = "SULOGINLIBS=-lcrypt ROOT=$(out) MANDIR=/share/man CC=${stdenv.cross.config}-gcc";
|
||||
};
|
||||
|
||||
preInstall =
|
||||
''
|
||||
substituteInPlace src/Makefile --replace /usr /
|
||||
|
||||
Reference in New Issue
Block a user