Merge pull request #69039 from samueldr/cross/vboot_reference

vboot_reference: use the right ar when cross-compiling
This commit is contained in:
Matthew Bauer 2019-09-18 20:43:03 -04:00 committed by GitHub
commit ca99e4562a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
'';