Fix SConscript error when using --wall
This commit is contained in:
parent
3a52453561
commit
fdda2fb123
@ -352,7 +352,7 @@ elif not GetOption('help'):
|
|||||||
|
|
||||||
if not msvc:
|
if not msvc:
|
||||||
if platform == "Windows":
|
if platform == "Windows":
|
||||||
env.Append(CCFLAGS=['-std=gnu++98'])
|
env.Append(CXXFLAGS=['-std=gnu++98'])
|
||||||
else:
|
else:
|
||||||
env.Append(CXXFLAGS=['-std=c++98'])
|
env.Append(CXXFLAGS=['-std=c++98'])
|
||||||
env.Append(CXXFLAGS=['-Wno-invalid-offsetof'])
|
env.Append(CXXFLAGS=['-Wno-invalid-offsetof'])
|
||||||
|
Reference in New Issue
Block a user