Tools: make non DEBUG SITL use -march=native

This commit is contained in:
Pierre Kancir 2020-09-06 18:20:54 +02:00 committed by Peter Barker
parent 866405c7df
commit 85b599b2d7
1 changed files with 1 additions and 0 deletions

View File

@ -417,6 +417,7 @@ class sitl(Board):
if not cfg.env.DEBUG:
env.CXXFLAGS += [
'-O3',
'-march=native',
]
if 'clang++' in cfg.env.COMPILER_CXX and cfg.options.asan: