]> git.saurik.com Git - wxWidgets.git/commitdiff
Allow override of /MDd
authorRobin Dunn <robin@alldunn.com>
Wed, 6 Oct 1999 19:09:07 +0000 (19:09 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 6 Oct 1999 19:09:07 +0000 (19:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/makevc.env

index 0082db93dc4acb9043e8e236273e13dc4011d0de..2cae086a8c298a4325968670f3d3fba794bb465d 100644 (file)
@@ -150,14 +150,18 @@ OPT = /Od /Gy
 # ***N.B.*** to save space/time, comment out /FR to avoid browse info (.sbr files) being generated
 DEBUG_FLAGS= /Zi /D__WXDEBUG__ # /DDEBUG=1 # /FR
 LINK_DEBUG_FLAGS=-debug:full -debugtype:cv # /PDB:NONE
-CRTFLAG=/MDd
+_CRTFLAG=/MDd
 !else
 # /O1 - smallest code
 # /O2 - fastest code
 OPT = /O1 # /O2 # /Od
 DEBUG_FLAGS=
 LINK_DEBUG_FLAGS=/RELEASE
-CRTFLAG=/MD
+_CRTFLAG=/MD
+!endif
+
+!if "$(CRTFLAG)" == ""
+CRTFLAG=$(_CRTFLAG)
 !endif
 
 !if "$(DLL)" == "0"