mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
stockfish: fix build for armv7l (#503672)
This commit is contained in:
commit
2a46f99e50
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue