From 5c22e9e10516d8d4c9b534135465b591e22daccb Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 14 Sep 2020 09:01:08 +1000 Subject: [PATCH] Revert "Tools: make non DEBUG SITL use -march=native" This reverts commit 85b599b2d75700433dc5c5a0c57fa5089bb8abb8. This breaks the cygwin binaries that MissionPlanner uses for simulation --- Tools/ardupilotwaf/boards.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index 0b08813ac5..32a5763268 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -417,7 +417,6 @@ class sitl(Board): if not cfg.env.DEBUG: env.CXXFLAGS += [ '-O3', - '-march=native', ] if 'clang++' in cfg.env.COMPILER_CXX and cfg.options.asan: