mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-18 14:11:16 +02:00
Temporary workaround to allow compilation on MinGW
This commit is contained in:
@@ -397,7 +397,7 @@ elif not GetOption('help'):
|
|||||||
env = conf.Finish()
|
env = conf.Finish()
|
||||||
|
|
||||||
if not msvc:
|
if not msvc:
|
||||||
env.Append(CXXFLAGS=['-std=c++11'])
|
env.Append(CXXFLAGS=['-std=c++11', '-U__STRICT_ANSI__'])
|
||||||
env.Append(CXXFLAGS=['-Wno-invalid-offsetof'])
|
env.Append(CXXFLAGS=['-Wno-invalid-offsetof'])
|
||||||
if platform == "Linux":
|
if platform == "Linux":
|
||||||
env.Append(CXXFLAGS=['-Wno-unused-result'])
|
env.Append(CXXFLAGS=['-Wno-unused-result'])
|
||||||
|
Reference in New Issue
Block a user