Merge #170991: stdenv: use gcc11 for riscv

This commit is contained in:
Vladimír Čunát 2022-05-02 23:23:34 +02:00
commit 8451a80cbc
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -12448,7 +12448,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;