cramfsprogs: support cross-compilation
This commit is contained in:
parent
c32fa3f108
commit
b85d91762a
@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
|
||||
# So patch the "missing include" bug ourselves.
|
||||
patches = [ ./include-sysmacros.patch ];
|
||||
|
||||
makeFlags = [
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install --target $out/bin -D cramfsck mkcramfs
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user