libgcc: 11.3.0 -> 12.2.0
Disable gcov to fix the build.
This commit is contained in:
parent
8607b0587c
commit
720dc7c27d
@ -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:=../" ];
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user