mirror of https://github.com/ArduPilot/ardupilot
Tools: make non DEBUG SITL use -march=native
This commit is contained in:
parent
866405c7df
commit
85b599b2d7
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue