From eb284b4fcaee2f4bb7db005c707390537b3b86d1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 2 May 2015 21:54:43 +1000 Subject: [PATCH] build: run Linux build with optimisation this is starting to be worthwhile on some boards --- mk/board_linux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/board_linux.mk b/mk/board_linux.mk index 92de65830c..81d95feb95 100644 --- a/mk/board_linux.mk +++ b/mk/board_linux.mk @@ -3,6 +3,6 @@ TOOLCHAIN = NATIVE include $(MK_DIR)/find_tools.mk # Linux build is just the same as SITL for now -OPTFLAGS = -O0 +OPTFLAGS = -O3 LIBS = -lm -lpthread -lrt include $(MK_DIR)/board_native.mk