ioquake3: fix riscv cross-compilation (#541598)

This commit is contained in:
Yt
2026-07-16 21:57:58 +00:00
committed by GitHub
+8
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 = ''