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.
# 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.