[Bf-committers] Fixing some SCons issues...

Andrea Weikert andrea at aweikert.de
Sun Sep 23 17:43:59 CEST 2007


Hi,

just to let you know, I have already committed the proposed patch here:
http://lists.blender.org/pipermail/bf-blender-cvs/2007-September/011350.html

Hope nothing broke,

Andrea


Mathias Wein schrieb:
> Hi,
> 
> there's several things i'd like to see changed in the scons scripts.
> 
> First, i still think the change in tools/Blender.py at revision 10517
> broke the C++ compiler flags completely. It's simply missing all flags
> now except the extra warning and release or debug flags. This makes building
> with MSVC 7.1 fail at linking due to mixing of runtimes (/MT and /EHsc
> missing for C++ sources) but all platforms may be missing important flags
> for C++ files (-funsigned-char on linux/unix)
> What i think was intended is to replace CXXFLAGS, which default
> to $CCFLAGS (i.e. a variable) with a _copy_ of CCFLAGS so further
> changes to CCFLAGS (now C-Compiler only) and CXXFLAGS (C++ compiler)
> don't affect each other.
> I propose this fix which I use for linux and windows/msvc8:
> http://lynx.aspect-design.de/blender/blender_scons.patch
> 




More information about the Bf-committers mailing list