vboot_reference: use the right ar when cross-compiling
This commit is contained in:
parent
e19054ab3c
commit
48859723ac
1 changed files with 5 additions and 0 deletions
|
@ -19,6 +19,11 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
patches = [ ./dont_static_link.patch ];
|
patches = [ ./dont_static_link.patch ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Makefile \
|
||||||
|
--replace "ar qc" '${stdenv.cc.bintools.targetPrefix}ar qc'
|
||||||
|
'';
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
patchShebangs scripts
|
patchShebangs scripts
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue