ioquake3: fix riscv cross-compilation

(cherry picked from commit 48af59c2ef)
This commit is contained in:
Jonas Heinrich
2026-07-13 22:59:24 +02:00
committed by github-actions[bot]
parent 49e1860f90
commit 88cb494003

View File

@@ -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 = ''