Scons: add /MD as default option under msvc

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14870 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2006-09-02 13:10:21 +00:00
parent e21c65332a
commit 246943ae3b

View File

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