Scons: add /MD as default option under msvc

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14869 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2006-09-02 13:09:10 +00:00
parent 0542f28f04
commit 62893b0692

View File

@ -464,7 +464,7 @@ if use_vc:
# in the current code page (number)
# C4996: foo was decleared deprecated
CCFLAGS_required.extend(['/TP', '/EHsc'])
CCFLAGS_default.extend(['/wd4819', '/wd4996', '/nologo'])
CCFLAGS_default.extend(['/wd4819', '/wd4996', '/nologo', '/MD'])
else:
if env.has_key('CXX') and env['CXX']:
env['CC'] = env.subst('$CXX')