git.iko.soy/typeable/nixpkgs
on master help sign in
vboot_reference: use the right ar when cross-compiling
commit48859723ac1ec913104497db6845d78688dec38c authorSamuel Dionne-Riel <samuel@dionne-riel.com> dateWed 18 Sep 2019, 15:11 (7 years ago) parente19054a
1 file changed+5
pkgs/tools/system/vboot_reference/default.nix+5
pkgs/tools/system/vboot_reference/default.nix+5
@@ -19,6 +19,11 @@ stdenv.mkDerivation rec {
1919
2020 patches = [ ./dont_static_link.patch ];
2121
22+ postPatch = ''
23+ substituteInPlace Makefile \
24+ --replace "ar qc" '${stdenv.cc.bintools.targetPrefix}ar qc'
25+ '';
26+
2227 preBuild = ''
2328 patchShebangs scripts
2429 '';