mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-02 04:22:34 +02:00
these --static flags should be optional
This commit is contained in:
@@ -464,9 +464,6 @@ elif GetOption('release'):
|
|||||||
env.Append(CCFLAGS=['-funsafe-loop-optimizations'])
|
env.Append(CCFLAGS=['-funsafe-loop-optimizations'])
|
||||||
|
|
||||||
if GetOption('static'):
|
if GetOption('static'):
|
||||||
if not msvc:
|
|
||||||
env.Append(CCFLAGS=['-static-libgcc', '-static-libstdc++'])
|
|
||||||
env.Append(LINKFLAGS=['-static-libgcc', '-static-libstdc++'])
|
|
||||||
if platform == "Windows":
|
if platform == "Windows":
|
||||||
env.Append(CPPDEFINES=['PTW32_STATIC_LIB'])
|
env.Append(CPPDEFINES=['PTW32_STATIC_LIB'])
|
||||||
if not msvc:
|
if not msvc:
|
||||||
|
Reference in New Issue
Block a user