Skip to content

Commit e47ac55

Browse files
committedApr 10, 2017
glibc: apply the i686 patch only on i686
... to reduce rebuilding. /cc #23177.
1 parent c30b12b commit e47ac55

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎pkgs/development/libraries/glibc/common.nix

+2-3
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,8 @@ stdenv.mkDerivation ({
4848
"/bin:/usr/bin", which is inappropriate on NixOS machines. This
4949
patch extends the search path by "/run/current-system/sw/bin". */
5050
./fix_path_attribute_in_getconf.patch
51-
52-
./fix-i686-memchr.patch
53-
];
51+
]
52+
++ lib.optional stdenv.isi686 ./fix-i686-memchr.patch;
5453

5554
postPatch =
5655
# Needed for glibc to build with the gnumake 3.82

0 commit comments

Comments
 (0)
Please sign in to comment.