Merge pull request #69039 from samueldr/cross/vboot_reference
vboot_reference: use the right ar when cross-compiling
This commit is contained in:
commit
ca99e4562a
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue