diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-08-26 02:18:14 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-08-26 02:18:14 +0000 |
commit | 5dfeae0ec5b5bd6f058c72c6f641c43992973efd (patch) | |
tree | 397be152e25cea316a3483e193249ac1c96d25ce | |
parent | bd0dcd289c617904265f0f1903582f5ee122eff5 (diff) | |
download | glibc-5dfeae0ec5b5bd6f058c72c6f641c43992973efd.tar.gz |
* Makerules: Use -p option with mkdir.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Makerules | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,7 @@ 2007-08-25 Ulrich Drepper <drepper@redhat.com> + * Makerules: Use -p option with mkdir. + * nis/nis_xdr.c (_xdr_nis_server): Work around gcc alias warning. (_xdr_directory_obj): Likewise. (xdr_entry_obj): Likewise. @@ -732,7 +732,9 @@ MAKEFLAGS := $(MAKEFLAGS)r # Generic rule for making directories. %/: # mkdir isn't smart enough to strip a trailing /. - mkdir $(@:%/=%) +# We always require a mkdir which supports the -p option to avoid error +# messages in case of races. + mkdir -p $(@:%/=%) # Make sure that object files are not removed # when they are intermediates between sources and library members. |