зеркало из https://github.com/mozilla/gecko-dev.git
Allow for compilation with MS Visual Studio 2005 (bug 249782) patch=sdwalker@myrealbox.com, r=dmose@mozilla.org
This commit is contained in:
Родитель
50f4722575
Коммит
ee08243444
|
@ -422,7 +422,7 @@ endif
|
|||
|
||||
SUBSYSTEM=CONSOLE
|
||||
ifndef MOZ_DEBUG_SYMBOLS
|
||||
DEBUG_FLAGS=-PDB:NONE -DEBUGTYPE:BOTH
|
||||
DEBUG_FLAGS=-PDB:NONE
|
||||
endif
|
||||
|
||||
LINK_EXE = $(CYGWIN_WRAPPER) link $(DEBUG_LINK_OPT) -OUT:"$@" -MAP $(ALDFLAGS) $(LDFLAGS) $(ML_DEBUG) \
|
||||
|
|
|
@ -81,8 +81,8 @@ OBJDIR_TAG = _OPT
|
|||
# Add symbolic information for use by a profiler
|
||||
ifdef MOZ_PROFILE
|
||||
OPTIMIZER += -Zi
|
||||
DLLFLAGS += -DEBUG -DEBUGTYPE:CV
|
||||
LDFLAGS += -DEBUG -DEBUGTYPE:CV
|
||||
DLLFLAGS += -DEBUG
|
||||
LDFLAGS += -DEBUG
|
||||
endif
|
||||
|
||||
else
|
||||
|
@ -99,13 +99,13 @@ OPTIMIZER = -Od -Zi
|
|||
#OPTIMIZER = -Zi -Fd$(OBJDIR)/ -Od
|
||||
DEFINES = -DDEBUG -D_DEBUG -UNDEBUG
|
||||
|
||||
DLLFLAGS = -DEBUG -DEBUGTYPE:CV -OUT:"$@"
|
||||
DLLFLAGS = -DEBUG -OUT:"$@"
|
||||
ifdef GLOWCODE
|
||||
DLLFLAGS = -DEBUG -DEBUGTYPE:both -INCLUDE:_GlowCode -OUT:"$@"
|
||||
endif
|
||||
|
||||
OBJDIR_TAG = _DBG
|
||||
LDFLAGS = -DEBUG -DEBUGTYPE:CV
|
||||
LDFLAGS = -DEBUG
|
||||
#
|
||||
# When PROFILE=1 is defined, set the compile and link options
|
||||
# to build targets for use by the ms-win32 profiler
|
||||
|
|
|
@ -1272,8 +1272,8 @@ case "$target" in
|
|||
fi
|
||||
|
||||
if test -n "$MOZ_DEBUG"; then
|
||||
DLLFLAGS="$DLLFLAGS -DEBUG -DEBUGTYPE:CV"
|
||||
LDFLAGS="$LDFLAGS -DEBUG -DEBUGTYPE:CV"
|
||||
DLLFLAGS="$DLLFLAGS -DEBUG"
|
||||
LDFLAGS="$LDFLAGS -DEBUG"
|
||||
fi
|
||||
|
||||
if test "$OS_TARGET" = "WINNT"; then
|
||||
|
|
Загрузка…
Ссылка в новой задаче