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.
launchpad/nixpkgs/master
Andreas Rammhold 3 years ago committed by Jonathan Ringer
parent a459e51174
commit abbbeaf42a
  1. 3
      pkgs/development/libraries/gcc/libgcc/default.nix

@ -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 = [

Loading…
Cancel
Save