Browse Source

wscript: added parallel builds compiler flag for MSVC

pull/2/head
SNMetamorph 3 years ago committed by a1batross
parent
commit
3ec9977212
  1. 2
      scripts/waifulib/compiler_optimizations.py

2
scripts/waifulib/compiler_optimizations.py

@ -51,7 +51,7 @@ LINKFLAGS = { @@ -51,7 +51,7 @@ LINKFLAGS = {
CFLAGS = {
'common': {
# disable thread-safe local static initialization for C++11 code, as it cause crashes on Windows XP
'msvc': ['/D_USING_V110_SDK71_', '/FS', '/Zc:threadSafeInit-', '/MT'],
'msvc': ['/D_USING_V110_SDK71_', '/FS', '/Zc:threadSafeInit-', '/MT', '/MP'],
'clang': ['-g', '-gdwarf-2', '-fvisibility=hidden', '-fno-threadsafe-statics'],
'gcc': ['-g', '-fvisibility=hidden'],
'owcc': ['-fno-short-enum', '-ffloat-store', '-g3']

Loading…
Cancel
Save