append -fomit-frame-pointer and -march=native to CXXFLAGS in release profile.

This commit is contained in:
Andrey Mazo committed 2009-10-23 17:31:36 +04:00
1 parent 87af1022ec
commit f127c0da72
1 file changed
+4
+4
View File
@@ -282,6 +282,10 @@ def configure(conf):
env.append_value('CXXDEFINES', 'NS3_ASSERT_ENABLE')
env.append_value('CXXDEFINES', 'NS3_LOG_ENABLE')
if Options.options.build_profile == 'release':
env.append_value('CXXFLAGS', '-fomit-frame-pointer')
env.append_value('CXXFLAGS', '-march=native')
env['PLATFORM'] = sys.platform
if conf.env['CXX_NAME'] in ['gcc', 'icc']: