|
|
@ -191,6 +191,9 @@ def configure(conf): |
|
|
|
'-Werror=parentheses', |
|
|
|
'-Werror=parentheses', |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
conf.env.append_unique('LINKFLAGS', conf.get_flags_by_type( |
|
|
|
|
|
|
|
linker_flags, conf.options.BUILD_TYPE, conf.env.COMPILER_CC)) |
|
|
|
|
|
|
|
|
|
|
|
cflags = conf.get_flags_by_type(compiler_c_cxx_flags, conf.options.BUILD_TYPE, conf.env.COMPILER_CC) |
|
|
|
cflags = conf.get_flags_by_type(compiler_c_cxx_flags, conf.options.BUILD_TYPE, conf.env.COMPILER_CC) |
|
|
|
if conf.env.COMPILER_CC == 'msvc': |
|
|
|
if conf.env.COMPILER_CC == 'msvc': |
|
|
|
conf.env.append_unique('CFLAGS', cflags) |
|
|
|
conf.env.append_unique('CFLAGS', cflags) |
|
|
@ -202,8 +205,6 @@ def configure(conf): |
|
|
|
conf.env.append_unique('CFLAGS', cflags + filter_cflags(conf, compiler_optional_flags, cflags, False)) |
|
|
|
conf.env.append_unique('CFLAGS', cflags + filter_cflags(conf, compiler_optional_flags, cflags, False)) |
|
|
|
conf.env.append_unique('CXXFLAGS', cflags + filter_cflags(conf, compiler_optional_flags, cflags, True)) |
|
|
|
conf.env.append_unique('CXXFLAGS', cflags + filter_cflags(conf, compiler_optional_flags, cflags, True)) |
|
|
|
|
|
|
|
|
|
|
|
conf.env.append_unique('LINKFLAGS', conf.get_flags_by_type( |
|
|
|
|
|
|
|
linker_flags, conf.options.BUILD_TYPE, conf.env.COMPILER_CC)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
conf.env.DEDICATED = conf.options.DEDICATED |
|
|
|
conf.env.DEDICATED = conf.options.DEDICATED |
|
|
|
# we don't need game launcher on dedicated |
|
|
|
# we don't need game launcher on dedicated |
|
|
|