The default subdirs rule creates a race condition with the rule that
Makefile.PL explicitly adds to generate libsdbm.a, which can cause parallel
makes to fail.
PERL_MALLOC_OK => 1,
);
+# We don't want the default subdir rule, as it creates a race condition with the
+# rule we add below.
+sub MY::subdir_x {
+ return '';
+}
+
sub MY::postamble {
if ($^O =~ /MSWin32/ && !defined($ENV{SYSTEMROOT})) {
if ($Config{'make'} =~ /dmake/i) {
=item *
-XXX
+The F<Makefile.PL> for C<SDBM_File> now generates a better F<Makefile>,
+which avoids a race condition during parallel makes, which could cause the
+build to fail. This is the last known parallel make problem (on *nix
+platforms), and therefore we believe that a parallel make should now always
+be error free.
+
+=for comment
+
+Strictly only for a build where build files such as F<Makefile.SH> have not
+been updated by C<git> in an already configured and built tree.
=back