зеркало из https://github.com/mozilla/gecko-dev.git
Bug 947117 - Don't tell the compiler to use debug C++ runtimes just because we're using DMD. r=glandium
This commit is contained in:
Родитель
2192973715
Коммит
9dfbbd7c47
|
@ -557,20 +557,20 @@ ifeq ($(OS_ARCH)_$(GNU_CC),WINNT_)
|
||||||
#//------------------------------------------------------------------------
|
#//------------------------------------------------------------------------
|
||||||
ifdef USE_STATIC_LIBS
|
ifdef USE_STATIC_LIBS
|
||||||
RTL_FLAGS=-MT # Statically linked multithreaded RTL
|
RTL_FLAGS=-MT # Statically linked multithreaded RTL
|
||||||
ifneq (,$(MOZ_DEBUG)$(NS_TRACE_MALLOC)$(MOZ_DMD))
|
ifneq (,$(MOZ_DEBUG)$(NS_TRACE_MALLOC))
|
||||||
ifndef MOZ_NO_DEBUG_RTL
|
ifndef MOZ_NO_DEBUG_RTL
|
||||||
RTL_FLAGS=-MTd # Statically linked multithreaded MSVC4.0 debug RTL
|
RTL_FLAGS=-MTd # Statically linked multithreaded MSVC4.0 debug RTL
|
||||||
endif
|
endif
|
||||||
endif # MOZ_DEBUG || NS_TRACE_MALLOC || MOZ_DMD
|
endif # MOZ_DEBUG || NS_TRACE_MALLOC
|
||||||
|
|
||||||
else # !USE_STATIC_LIBS
|
else # !USE_STATIC_LIBS
|
||||||
|
|
||||||
RTL_FLAGS=-MD # Dynamically linked, multithreaded RTL
|
RTL_FLAGS=-MD # Dynamically linked, multithreaded RTL
|
||||||
ifneq (,$(MOZ_DEBUG)$(NS_TRACE_MALLOC)$(MOZ_DMD))
|
ifneq (,$(MOZ_DEBUG)$(NS_TRACE_MALLOC))
|
||||||
ifndef MOZ_NO_DEBUG_RTL
|
ifndef MOZ_NO_DEBUG_RTL
|
||||||
RTL_FLAGS=-MDd # Dynamically linked, multithreaded MSVC4.0 debug RTL
|
RTL_FLAGS=-MDd # Dynamically linked, multithreaded MSVC4.0 debug RTL
|
||||||
endif
|
endif
|
||||||
endif # MOZ_DEBUG || NS_TRACE_MALLOC || MOZ_DMD
|
endif # MOZ_DEBUG || NS_TRACE_MALLOC
|
||||||
endif # USE_STATIC_LIBS
|
endif # USE_STATIC_LIBS
|
||||||
endif # WINNT && !GNU_CC
|
endif # WINNT && !GNU_CC
|
||||||
|
|
||||||
|
|
|
@ -557,20 +557,20 @@ ifeq ($(OS_ARCH)_$(GNU_CC),WINNT_)
|
||||||
#//------------------------------------------------------------------------
|
#//------------------------------------------------------------------------
|
||||||
ifdef USE_STATIC_LIBS
|
ifdef USE_STATIC_LIBS
|
||||||
RTL_FLAGS=-MT # Statically linked multithreaded RTL
|
RTL_FLAGS=-MT # Statically linked multithreaded RTL
|
||||||
ifneq (,$(MOZ_DEBUG)$(NS_TRACE_MALLOC)$(MOZ_DMD))
|
ifneq (,$(MOZ_DEBUG)$(NS_TRACE_MALLOC))
|
||||||
ifndef MOZ_NO_DEBUG_RTL
|
ifndef MOZ_NO_DEBUG_RTL
|
||||||
RTL_FLAGS=-MTd # Statically linked multithreaded MSVC4.0 debug RTL
|
RTL_FLAGS=-MTd # Statically linked multithreaded MSVC4.0 debug RTL
|
||||||
endif
|
endif
|
||||||
endif # MOZ_DEBUG || NS_TRACE_MALLOC || MOZ_DMD
|
endif # MOZ_DEBUG || NS_TRACE_MALLOC
|
||||||
|
|
||||||
else # !USE_STATIC_LIBS
|
else # !USE_STATIC_LIBS
|
||||||
|
|
||||||
RTL_FLAGS=-MD # Dynamically linked, multithreaded RTL
|
RTL_FLAGS=-MD # Dynamically linked, multithreaded RTL
|
||||||
ifneq (,$(MOZ_DEBUG)$(NS_TRACE_MALLOC)$(MOZ_DMD))
|
ifneq (,$(MOZ_DEBUG)$(NS_TRACE_MALLOC))
|
||||||
ifndef MOZ_NO_DEBUG_RTL
|
ifndef MOZ_NO_DEBUG_RTL
|
||||||
RTL_FLAGS=-MDd # Dynamically linked, multithreaded MSVC4.0 debug RTL
|
RTL_FLAGS=-MDd # Dynamically linked, multithreaded MSVC4.0 debug RTL
|
||||||
endif
|
endif
|
||||||
endif # MOZ_DEBUG || NS_TRACE_MALLOC || MOZ_DMD
|
endif # MOZ_DEBUG || NS_TRACE_MALLOC
|
||||||
endif # USE_STATIC_LIBS
|
endif # USE_STATIC_LIBS
|
||||||
endif # WINNT && !GNU_CC
|
endif # WINNT && !GNU_CC
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче