vboot_reference: use the right ar when cross-compiling

This commit is contained in:
Samuel Dionne-Riel 2019-09-18 15:11:21 -04:00
parent e19054ab3c
commit 48859723ac

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