mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
ioquake3: fix riscv cross-compilation
(cherry picked from commit 48af59c2ef)
This commit is contained in:
committed by
github-actions[bot]
parent
49e1860f90
commit
88cb494003
@@ -20,6 +20,7 @@
|
||||
mumble,
|
||||
unstableGitUpdater,
|
||||
bc,
|
||||
buildPackages,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -33,6 +34,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-OszPRlS5NTvajDZhtGw2wa275O8YodkIgiBz3POouYs=";
|
||||
};
|
||||
|
||||
makeFlags = [
|
||||
"ARCH=${stdenv.hostPlatform.parsed.cpu.name}"
|
||||
"NO_STRIP=1"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
copyDesktopItems
|
||||
makeBinaryWrapper
|
||||
@@ -55,6 +61,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
mumble
|
||||
];
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
preConfigure = ''
|
||||
|
||||
Reference in New Issue
Block a user