stockfish: fix build for armv7l (#503672)

This commit is contained in:
Sandro
2026-07-01 14:22:22 +00:00
committed by GitHub
+4
View File
@@ -25,6 +25,8 @@ let
"x86-32"
else if stdenv.hostPlatform.isAarch64 then
"armv8"
else if stdenv.hostPlatform.isAarch32 then
"armv7"
else
"unknown";
@@ -66,6 +68,7 @@ stdenv.mkDerivation rec {
"PREFIX=$(out)"
"ARCH=${arch}"
"CXX=${stdenv.cc.targetPrefix}c++"
"STRIP=${stdenv.cc.targetPrefix}strip"
];
buildFlags = [ "build" ];
@@ -121,6 +124,7 @@ stdenv.mkDerivation rec {
"x86_64-darwin"
"aarch64-linux"
"aarch64-darwin"
"armv7l-linux"
];
license = lib.licenses.gpl3Only;
};