vboot_reference: use the right ar when cross-compiling
This commit is contained in:
parent
e19054ab3c
commit
48859723ac
@ -19,6 +19,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [ ./dont_static_link.patch ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "ar qc" '${stdenv.cc.bintools.targetPrefix}ar qc'
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
patchShebangs scripts
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user