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 6020fe250894e3589d517767d7691fe34f5f5a52.
This commit is contained in:
parent
a459e51174
commit
abbbeaf42a
@ -129,8 +129,7 @@ stdenvNoLibs.mkDerivation rec {
|
|||||||
|
|
||||||
"--with-system-zlib"
|
"--with-system-zlib"
|
||||||
] ++ lib.optional (stdenvNoLibs.hostPlatform.libc == "glibc")
|
] ++ 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=${glibc.version}";
|
||||||
"--with-glibc-version=${builtins.head (builtins.split "-" glibc.version)}";
|
|
||||||
|
|
||||||
configurePlatforms = [ "build" "host" ];
|
configurePlatforms = [ "build" "host" ];
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user