stdenv: use gcc11 for riscv

This commit is contained in:
Nick Cao
2022-04-30 14:55:21 +08:00
parent b9387eced5
commit 5b13c1e657
+1 -1
View File
@@ -12419,7 +12419,7 @@ with pkgs;
num =
if (with stdenv.targetPlatform; isVc4 || libc == "relibc") then 6
else if (stdenv.targetPlatform.isAarch64 && stdenv.isDarwin) then 11
else if (stdenv.targetPlatform.isx86_64) then 11
else if (stdenv.targetPlatform.isx86_64 || stdenv.targetPlatform.isRiscV) then 11
else if stdenv.targetPlatform.isAarch64 then 9
else 10;
numS = toString num;