forked from valve/halflife-sdk
wscript: force C++98 to avoid std::byte redefining our byte thanks to using namespace std somewhere
This commit is contained in:
parent
6eeaa1f199
commit
3bf40d193b
1 changed files with 2 additions and 0 deletions
2
wscript
2
wscript
|
@ -73,6 +73,8 @@ def configure(conf):
|
|||
|
||||
cflags, linkflags = conf.get_optimization_flags()
|
||||
cxxflags = list(cflags) # optimization flags are common between C and C++ but we need a copy
|
||||
if conf.env.COMPILER_CC != 'msvc':
|
||||
cxxflags += ['-std=c++98']
|
||||
|
||||
# on the Switch, allow undefined symbols by default, which is needed for libsolder to work
|
||||
# we'll specifically disallow them for the engine executable
|
||||
|
|
Loading…
Reference in a new issue