libgcc: 11.3.0 -> 12.2.0

Disable gcov to fix the build.
This commit is contained in:
Sergei Trofimovich 2023-05-06 07:35:07 +01:00
parent 8607b0587c
commit 720dc7c27d
2 changed files with 4 additions and 3 deletions

View File

@ -78,8 +78,7 @@ stdenvNoLibs.mkDerivation rec {
tm.h \
options.h \
insn-constants.h \
insn-modes.h \
gcov-iov.h
insn-modes.h
)
mkdir -p "$buildRoot/gcc/include"
''
@ -141,6 +140,9 @@ stdenvNoLibs.mkDerivation rec {
# Do not have dynamic linker without libc
"--enable-static"
"--disable-shared"
# Avoid dependency on gcc.
"--disable-gcov"
];
makeFlags = [ "MULTIBUILDTOP:=../" ];

View File

@ -17999,7 +17999,6 @@ with pkgs;
libgcc = callPackage ../development/libraries/gcc/libgcc {
stdenvNoLibs = gccStdenvNoLibs; # cannot be built with clang it seems
gcc = gcc11; # fails to build with gcc12
};
# This is for e.g. LLVM libraries on linux.