endless-sky: use gcc-ar

Plain ar does not load the LTO plugin correctly, resulting in a build
failure.
This commit is contained in:
Linus Heckemann 2021-12-03 20:35:55 +01:00 committed by Lucas Hoffmann
parent 13b776e93c
commit c9c10cc03c

View file

@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
./fixes.patch
];
preBuild = ''
export AR="${stdenv.cc.targetPrefix}gcc-ar"
'';
enableParallelBuilding = true;
buildInputs = [