summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-08-27 20:40:42 +0000
committerJakub Jelinek <jakub@redhat.com>2007-08-27 20:40:42 +0000
commit8d599f5ab190dfb8a394104c4dc0d39c90f19093 (patch)
treec46dd272dde92188874882c675c01b017958fbbb /Makerules
parent9abaa7d89fe873eeebda1bd227fde5d5bd6ab332 (diff)
downloadglibc-8d599f5ab190dfb8a394104c4dc0d39c90f19093.tar.gz
Updated to fedora-glibc-20070827T2032
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index efd2fba58d..db83b24ffe 100644
--- 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 $(@:%/=%)
# Make sure that object files are not removed
# when they are intermediates between sources and library members.