mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
bug 1322703 - use -Fd to specify unique PDB filename per-object-file for MSVC. r=glandium
MozReview-Commit-ID: CxpLruksaHg --HG-- extra : rebase_source : 16087aba96fb7e0d7f764b4ca21d27a78a19df4d
This commit is contained in:
parent
9e7275ddcb
commit
778b18b977
@ -153,22 +153,7 @@ endif # LIBRARY
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
ifndef GNU_CC
|
||||
|
||||
#
|
||||
# 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_PDB_FLAG ?= -Fd$(basename $(@F)).pdb
|
||||
else
|
||||
COMPILE_PDB_FLAG ?= -Fdgenerated.pdb
|
||||
endif
|
||||
COMPILE_CFLAGS += $(COMPILE_PDB_FLAG)
|
||||
COMPILE_CXXFLAGS += $(COMPILE_PDB_FLAG)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user