diff --git a/pkgs/development/libraries/glibc-2.12/common.nix b/pkgs/development/libraries/glibc-2.12/common.nix index afa498ccd2a..af36787139b 100644 --- a/pkgs/development/libraries/glibc-2.12/common.nix +++ b/pkgs/development/libraries/glibc-2.12/common.nix @@ -79,6 +79,12 @@ stdenv.mkDerivation ({ ./nix-locale-archive.patch ]; + # Needed for glibc to build with the gnumake 3.82 + # http://comments.gmane.org/gmane.linux.lfs.support/31227 + postPatch = '' + sed -i 's/ot \$/ot:\n\ttouch $@\n$/' manual/Makefile + ''; + configureFlags = [ "-C" "--enable-add-ons"