From 9dfbbd7c472b7a54596c0bb62481d87a1f8eb8aa Mon Sep 17 00:00:00 2001 From: Catalin Iacob Date: Mon, 9 Dec 2013 07:58:16 +0100 Subject: [PATCH] Bug 947117 - Don't tell the compiler to use debug C++ runtimes just because we're using DMD. r=glandium --- config/config.mk | 8 ++++---- js/src/config/config.mk | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/config.mk b/config/config.mk index 379eb9aa9141..0f051c42a678 100644 --- a/config/config.mk +++ b/config/config.mk @@ -557,20 +557,20 @@ ifeq ($(OS_ARCH)_$(GNU_CC),WINNT_) #//------------------------------------------------------------------------ ifdef USE_STATIC_LIBS 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 RTL_FLAGS=-MTd # Statically linked multithreaded MSVC4.0 debug RTL endif -endif # MOZ_DEBUG || NS_TRACE_MALLOC || MOZ_DMD +endif # MOZ_DEBUG || NS_TRACE_MALLOC else # !USE_STATIC_LIBS 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 RTL_FLAGS=-MDd # Dynamically linked, multithreaded MSVC4.0 debug RTL endif -endif # MOZ_DEBUG || NS_TRACE_MALLOC || MOZ_DMD +endif # MOZ_DEBUG || NS_TRACE_MALLOC endif # USE_STATIC_LIBS endif # WINNT && !GNU_CC diff --git a/js/src/config/config.mk b/js/src/config/config.mk index 379eb9aa9141..0f051c42a678 100644 --- a/js/src/config/config.mk +++ b/js/src/config/config.mk @@ -557,20 +557,20 @@ ifeq ($(OS_ARCH)_$(GNU_CC),WINNT_) #//------------------------------------------------------------------------ ifdef USE_STATIC_LIBS 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 RTL_FLAGS=-MTd # Statically linked multithreaded MSVC4.0 debug RTL endif -endif # MOZ_DEBUG || NS_TRACE_MALLOC || MOZ_DMD +endif # MOZ_DEBUG || NS_TRACE_MALLOC else # !USE_STATIC_LIBS 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 RTL_FLAGS=-MDd # Dynamically linked, multithreaded MSVC4.0 debug RTL endif -endif # MOZ_DEBUG || NS_TRACE_MALLOC || MOZ_DMD +endif # MOZ_DEBUG || NS_TRACE_MALLOC endif # USE_STATIC_LIBS endif # WINNT && !GNU_CC