This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
fix a race condition in parallel builds with Visual C
authorDaniel Dragan <bulk88@hotmail.com>
Tue, 26 Jan 2016 10:24:07 +0000 (05:24 -0500)
committerTony Cook <tony@develop-help.com>
Wed, 27 Jan 2016 03:29:04 +0000 (14:29 +1100)
commit8e925de9eafe936a6c26a2b646ef06fde25a963f
treed9dfc19a852f3db4af154fdda6da11cca3a73343
parentf3c6f22e7318c8711613a58d4b041922a6465567
fix a race condition in parallel builds with Visual C

On older VCs a "gmake -j2 ..\generate_uudmap.exe ..\perlglob.exe" will
generate warnings, on newer VCs, a fatal error in 1 or the other cl.exe
process. This is because both cl.exes are trying to lock and write to
vc*0.pdb, the same file. Add PDBOUT option so uudmap and perlglob have
their own pdb files named after themselves and they cant conflict in a
parallel build.
win32/GNUmakefile
win32/makefile.mk