Merge pull request #136773 from Mindavi/cramfsprogs/cross
cramfsprogs: support cross-compilation
This commit is contained in:
commit
87d338542b
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue