[Bf-blender-cvs] [3c479e2] depsgraph_refactor: Compile fixes for mingw64

Joshua Leung noreply at git.blender.org
Mon Dec 1 12:29:31 CET 2014


Commit: 3c479e21b42a10e6004efec3cb2324808ab69fc2
Author: Joshua Leung
Date:   Sat Nov 29 00:57:04 2014 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rB3c479e21b42a10e6004efec3cb2324808ab69fc2

Compile fixes for mingw64

Need to set flags to use c++11 features, or else the
std::bind stuff isn't available

===================================================================

M	build_files/scons/config/win64-mingw-config.py

===================================================================

diff --git a/build_files/scons/config/win64-mingw-config.py b/build_files/scons/config/win64-mingw-config.py
index 92dcd6d..3089caa 100644
--- a/build_files/scons/config/win64-mingw-config.py
+++ b/build_files/scons/config/win64-mingw-config.py
@@ -179,7 +179,7 @@ CC = 'gcc'
 CXX = 'g++'
 
 CCFLAGS = [ '-pipe', '-funsigned-char', '-fno-strict-aliasing' ]
-CXXFLAGS = [ '-fpermissive' ]
+CXXFLAGS = [ '-fpermissive', '-std=c++11' ]
 
 CPPFLAGS = ['-DWIN32', '-DMS_WIN64', '-DFREE_WINDOWS', '-DFREE_WINDOWS64', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-DBOOST_ALL_NO_LIB', '-DBOOST_THREAD_USE_LIB', '-DGLEW_STATIC', '-DOPJ_STATIC']
 REL_CFLAGS = []




More information about the Bf-blender-cvs mailing list