зеркало из https://github.com/mozilla/pjs.git
Override compile flags instead of appending them for profile, coverage & trace-malloc builds. This should fix the talkback line number issue.
Bug #141834 r=leaf sr=jdunn
This commit is contained in:
Родитель
ccef729e0a
Коммит
e4ef1b46a1
|
@ -286,18 +286,14 @@ else
|
|||
# an optimized build with debugging symbols. Useful for debugging
|
||||
# compiler optimization bugs, as well as running with Quantify.
|
||||
ifdef MOZ_PROFILE
|
||||
_WIN32_PROFILE_FLAGS=-Zi -O1 -UDEBUG -DNDEBUG
|
||||
OS_CFLAGS += $(_WIN32_PROFILE_FLAGS)
|
||||
OS_CXXFLAGS += $(_WIN32_PROFILE_FLAGS)
|
||||
OS_LDFLAGS += /DEBUG /DEBUGTYPE:CV /OPT:REF /OPT:nowin98
|
||||
MOZ_OPTIMIZE_FLAGS=-Zi -O1 -UDEBUG -DNDEBUG
|
||||
OS_LDFLAGS = /DEBUG /DEBUGTYPE:CV /OPT:REF /OPT:nowin98
|
||||
endif
|
||||
|
||||
# if MOZ_COVERAGE is set, we handle pdb files slightly differently
|
||||
ifdef MOZ_COVERAGE
|
||||
_WIN32_COVERAGE_FLAGS=-Zi -O1 -UDEBUG -DNDEBUG
|
||||
OS_CFLAGS += $(_WIN32_COVERAGE_FLAGS)
|
||||
OS_CXXFLAGS += $(_WIN32_COVERAGE_FLAGS)
|
||||
OS_LDFLAGS += /DEBUG /DEBUGTYPE:CV /OPT:REF /OPT:nowin98
|
||||
MOZ_OPTIMIZE_FLAGS=-Zi -O1 -UDEBUG -DNDEBUG
|
||||
OS_LDFLAGS = /DEBUG /DEBUGTYPE:CV /OPT:REF /OPT:nowin98
|
||||
endif
|
||||
# MOZ_COVERAGE
|
||||
|
||||
|
@ -307,7 +303,7 @@ endif
|
|||
#
|
||||
ifdef NS_TRACE_MALLOC
|
||||
MOZ_OPTIMIZE_FLAGS=-Zi -Od -UDEBUG -DNDEBUG
|
||||
OS_LDFLAGS += /DEBUG /DEBUGTYPE:CV /PDB:NONE /OPT:REF /OPT:nowin98
|
||||
OS_LDFLAGS = /DEBUG /DEBUGTYPE:CV /PDB:NONE /OPT:REF /OPT:nowin98
|
||||
endif
|
||||
# NS_TRACE_MALLOC
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче