|
|
|
@ -132,8 +132,20 @@ def configure(conf):
@@ -132,8 +132,20 @@ def configure(conf):
|
|
|
|
|
'common': { |
|
|
|
|
# disable thread-safe local static initialization for C++11 code, as it cause crashes on Windows XP |
|
|
|
|
'msvc': ['/D_USING_V110_SDK71_', '/Zi', '/FS', '/Zc:threadSafeInit-', '/MT'], |
|
|
|
|
'clang': ['-g', '-gdwarf-2', '-Werror=implicit-function-declaration', '-Werror=return-type'], |
|
|
|
|
'gcc': ['-g', '-Werror=implicit-function-declaration', '-fdiagnostics-color=always', '-Werror=return-type'] |
|
|
|
|
'clang': [ |
|
|
|
|
'-g', |
|
|
|
|
'-gdwarf-2', |
|
|
|
|
'-Werror=implicit-function-declaration', |
|
|
|
|
'-Werror=return-type', |
|
|
|
|
'-Werror=int-conversion' |
|
|
|
|
], |
|
|
|
|
'gcc': [ |
|
|
|
|
'-g', |
|
|
|
|
'-fdiagnostics-color=always', |
|
|
|
|
'-Werror=implicit-function-declaration', |
|
|
|
|
'-Werror=return-type', |
|
|
|
|
'-Werror=int-conversion' |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
'fast': { |
|
|
|
|
'msvc': ['/O2', '/Oy'], #todo: check /GL /LTCG |
|
|
|
|