these --static flags should be optional

This commit is contained in:
jacob1 2016-07-10 21:08:16 -04:00
parent 8146598967
commit e8817489be

View File

@ -464,9 +464,6 @@ elif GetOption('release'):
env.Append(CCFLAGS=['-funsafe-loop-optimizations'])
if GetOption('static'):
if not msvc:
env.Append(CCFLAGS=['-static-libgcc', '-static-libstdc++'])
env.Append(LINKFLAGS=['-static-libgcc', '-static-libstdc++'])
if platform == "Windows":
env.Append(CPPDEFINES=['PTW32_STATIC_LIB'])
if not msvc: