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-04 09:06:21 +01:00
committed by Lucas Hoffmann
parent 13b776e93c
commit c9c10cc03c
+4
View File
@@ -17,6 +17,10 @@ stdenv.mkDerivation rec {
./fixes.patch
];
preBuild = ''
export AR="${stdenv.cc.targetPrefix}gcc-ar"
'';
enableParallelBuilding = true;
buildInputs = [