equal
deleted
inserted
replaced
277 variant_env.set_variant(variant_name) |
277 variant_env.set_variant(variant_name) |
278 conf.set_env_name(variant_name, variant_env) |
278 conf.set_env_name(variant_name, variant_env) |
279 conf.setenv(variant_name) |
279 conf.setenv(variant_name) |
280 env = variant_env |
280 env = variant_env |
281 |
281 |
282 env.append_value('CXXDEFINES', 'RUN_SELF_TESTS') |
|
283 |
|
284 if env['COMPILER_CXX'] == 'g++' and 'CXXFLAGS' not in os.environ: |
282 if env['COMPILER_CXX'] == 'g++' and 'CXXFLAGS' not in os.environ: |
285 if conf.check_compilation_flag('-Wno-error=deprecated-declarations'): |
283 if conf.check_compilation_flag('-Wno-error=deprecated-declarations'): |
286 env.append_value('CXXFLAGS', '-Wno-error=deprecated-declarations') |
284 env.append_value('CXXFLAGS', '-Wno-error=deprecated-declarations') |
287 |
285 |
288 if Options.options.build_profile == 'debug': |
286 if Options.options.build_profile == 'debug': |