3
0
Fork 0
forked from mirrors/nixpkgs

glibc: apply the i686 patch only on i686

... to reduce rebuilding. /cc #23177.
This commit is contained in:
Vladimír Čunát 2017-04-10 11:18:13 +02:00
parent c30b12b9a5
commit e47ac55a21
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -48,9 +48,8 @@ stdenv.mkDerivation ({
"/bin:/usr/bin", which is inappropriate on NixOS machines. This
patch extends the search path by "/run/current-system/sw/bin". */
./fix_path_attribute_in_getconf.patch
./fix-i686-memchr.patch
];
]
++ lib.optional stdenv.isi686 ./fix-i686-memchr.patch;
postPatch =
# Needed for glibc to build with the gnumake 3.82