Static bwa

AR needs to be passed specifically on the command line
This commit is contained in:
Luis Pedro Coelho 2022-05-04 02:20:50 +02:00
parent 4758873378
commit 596c5e7ea2

View file

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
sed -i '/^CC/d' Makefile sed -i '/^CC/d' Makefile
''; '';
makeFlags = lib.optional stdenv.hostPlatform.isStatic "AR=${stdenv.cc.targetPrefix}ar";
# it's unclear which headers are intended to be part of the public interface # it's unclear which headers are intended to be part of the public interface
# so we may find ourselves having to add more here over time # so we may find ourselves having to add more here over time
installPhase = '' installPhase = ''