equal
deleted
inserted
replaced
116 if (os.path.basename(conf.env['CXX']).startswith("g++") |
116 if (os.path.basename(conf.env['CXX']).startswith("g++") |
117 and 'CXXFLAGS' not in os.environ): |
117 and 'CXXFLAGS' not in os.environ): |
118 variant_env.append_value('CXXFLAGS', ['-Werror']) |
118 variant_env.append_value('CXXFLAGS', ['-Werror']) |
119 |
119 |
120 if 'debug' in Params.g_options.debug_level.lower(): |
120 if 'debug' in Params.g_options.debug_level.lower(): |
121 variant_env.append_value('CXXDEFINES', 'NS3_DEBUG_ENABLE') |
|
122 variant_env.append_value('CXXDEFINES', 'NS3_ASSERT_ENABLE') |
121 variant_env.append_value('CXXDEFINES', 'NS3_ASSERT_ENABLE') |
123 variant_env.append_value('CXXDEFINES', 'NS3_LOG_ENABLE') |
122 variant_env.append_value('CXXDEFINES', 'NS3_LOG_ENABLE') |
124 |
123 |
125 ## In optimized builds we still want debugging symbols, e.g. for |
124 ## In optimized builds we still want debugging symbols, e.g. for |
126 ## profiling, and at least partially usable stack traces. |
125 ## profiling, and at least partially usable stack traces. |