Revert "libgcc: use glibc major and minor version but not the patch level"

The fix is no longer required with the restored passthru version.

This reverts commit 6020fe2508.
This commit is contained in:
Andreas Rammhold 2021-05-18 20:23:04 +02:00 committed by Jonathan Ringer
parent a459e51174
commit abbbeaf42a

View file

@ -129,8 +129,7 @@ stdenvNoLibs.mkDerivation rec {
"--with-system-zlib"
] ++ lib.optional (stdenvNoLibs.hostPlatform.libc == "glibc")
# libgcc expects a glibc version of the format X.Y while we usually have a version X.Y-Z where Z is our patchlevel.
"--with-glibc-version=${builtins.head (builtins.split "-" glibc.version)}";
"--with-glibc-version=${glibc.version}";
configurePlatforms = [ "build" "host" ];
configureFlags = [