mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
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:
parent
a459e51174
commit
abbbeaf42a
|
@ -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…
Reference in a new issue