Bug 463420 - SIMPLE_PROGRAMS leads to bustage with generated.pdb r=ted

This commit is contained in:
Benjamin Smedberg 2008-11-26 14:38:09 -05:00
Родитель 00579d3fe4
Коммит 72dc2f6697
2 изменённых файлов: 20 добавлений и 6 удалений

Просмотреть файл

@ -199,15 +199,22 @@ ifeq (,$(filter-out WINNT WINCE,$(OS_ARCH)))
ifndef GNU_CC
#
# All C++ files share a PDB file per directory. For parallel builds, this PDB
# file is shared and locked by MSPDBSRV.EXE, starting with MSVC8 SP1. If
# you're using MSVC 7.1 or MSVC8 without SP1, don't do parallel builds.
# Unless we're building SIMPLE_PROGRAMS, all C++ files share a PDB file per
# directory. For parallel builds, this PDB file is shared and locked by
# MSPDBSRV.EXE, starting with MSVC8 SP1. If you're using MSVC 7.1 or MSVC8
# without SP1, don't do parallel builds.
#
# The final PDB for libraries and programs is created by the linker and uses
# a different name from the single PDB file created by the compiler. See
# bug 462740.
#
ifdef SIMPLE_PROGRAMS
COMPILE_PDBFILE = $(basename $(@F)).pdb
else
COMPILE_PDBFILE = generated.pdb
endif
LINK_PDBFILE = $(basename $(@F)).pdb
ifdef MOZ_DEBUG
CODFILE=$(basename $(@F)).cod

Просмотреть файл

@ -199,15 +199,22 @@ ifeq (,$(filter-out WINNT WINCE,$(OS_ARCH)))
ifndef GNU_CC
#
# All C++ files share a PDB file per directory. For parallel builds, this PDB
# file is shared and locked by MSPDBSRV.EXE, starting with MSVC8 SP1. If
# you're using MSVC 7.1 or MSVC8 without SP1, don't do parallel builds.
# Unless we're building SIMPLE_PROGRAMS, all C++ files share a PDB file per
# directory. For parallel builds, this PDB file is shared and locked by
# MSPDBSRV.EXE, starting with MSVC8 SP1. If you're using MSVC 7.1 or MSVC8
# without SP1, don't do parallel builds.
#
# The final PDB for libraries and programs is created by the linker and uses
# a different name from the single PDB file created by the compiler. See
# bug 462740.
#
ifdef SIMPLE_PROGRAMS
COMPILE_PDBFILE = $(basename $(@F)).pdb
else
COMPILE_PDBFILE = generated.pdb
endif
LINK_PDBFILE = $(basename $(@F)).pdb
ifdef MOZ_DEBUG
CODFILE=$(basename $(@F)).cod