glibc: apply the i686 patch only on i686
... to reduce rebuilding. /cc #23177.
This commit is contained in:
parent
c30b12b9a5
commit
e47ac55a21
@ -48,9 +48,8 @@ stdenv.mkDerivation ({
|
|||||||
"/bin:/usr/bin", which is inappropriate on NixOS machines. This
|
"/bin:/usr/bin", which is inappropriate on NixOS machines. This
|
||||||
patch extends the search path by "/run/current-system/sw/bin". */
|
patch extends the search path by "/run/current-system/sw/bin". */
|
||||||
./fix_path_attribute_in_getconf.patch
|
./fix_path_attribute_in_getconf.patch
|
||||||
|
]
|
||||||
./fix-i686-memchr.patch
|
++ lib.optional stdenv.isi686 ./fix-i686-memchr.patch;
|
||||||
];
|
|
||||||
|
|
||||||
postPatch =
|
postPatch =
|
||||||
# Needed for glibc to build with the gnumake 3.82
|
# Needed for glibc to build with the gnumake 3.82
|
||||||
|
Loading…
x
Reference in New Issue
Block a user