]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* Makerules: Use -p option with mkdir.
authorUlrich Drepper <drepper@redhat.com>
Sun, 26 Aug 2007 02:18:14 +0000 (02:18 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 26 Aug 2007 02:18:14 +0000 (02:18 +0000)
ChangeLog
Makerules

index f113b74a9bcd4ef7de8d18a85d3a620569db2e68..fa53b60880b17228e9c4c85d1a8bbe6406f9035d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index efd2fba58d53f4a512284e1b5fa91688b6e60e08..db83b24ffe3986cbda18a32a10366e833cc5960a 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -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 $(@:%/=%)
 \f
 # Make sure that object files are not removed
 # when they are intermediates between sources and library members.