Visual C/C++ and MIPSpro C++ on SGI so, they match other tools
and avoid flag duplication on C++ command lines.
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3887
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
- Support implicit dependency scanning of files encoded in utf-8
and utf-16.
+ From Roberto de Vecchi:
+
+ - Remove $CCFLAGS from the the default definitions of $CXXFLAGS for
+ Visual C/C++ and MIPSpro C++ on SGI so, they match other tools
+ and avoid flag duplication on C++ command lines.
+
From Matthew Wesley:
- Copy file attributes so we identify, and can link a shared library
env['SHCFLAGS'] = SCons.Util.CLVar('$CFLAGS')
env['SHCCCOM'] = '$SHCC $_MSVC_OUTPUT_FLAG /c $CHANGED_SOURCES $SHCFLAGS $SHCCFLAGS $_CCCOMCOM'
env['CXX'] = '$CC'
- env['CXXFLAGS'] = SCons.Util.CLVar('$CCFLAGS $( /TP $)')
+ env['CXXFLAGS'] = SCons.Util.CLVar('$( /TP $)')
env['CXXCOM'] = '$CXX $_MSVC_OUTPUT_FLAG /c $CHANGED_SOURCES $CXXFLAGS $CCFLAGS $_CCCOMCOM'
env['SHCXX'] = '$CXX'
env['SHCXXFLAGS'] = SCons.Util.CLVar('$CXXFLAGS')
cplusplus.generate(env)
env['CXX'] = 'CC'
- env['CXXFLAGS'] = SCons.Util.CLVar('$CCFLAGS -LANG:std')
+ env['CXXFLAGS'] = SCons.Util.CLVar('-LANG:std')
env['SHCXX'] = '$CXX'
env['SHOBJSUFFIX'] = '.o'
env['STATIC_AND_SHARED_OBJECTS_ARE_THE_SAME'] = 1