aboutsummaryrefslogtreecommitdiff
path: root/nuttx/configs/px4fmu/common/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/px4fmu/common/Make.defs')
-rw-r--r--nuttx/configs/px4fmu/common/Make.defs2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/px4fmu/common/Make.defs b/nuttx/configs/px4fmu/common/Make.defs
index 756286ccb..22accee56 100644
--- a/nuttx/configs/px4fmu/common/Make.defs
+++ b/nuttx/configs/px4fmu/common/Make.defs
@@ -58,7 +58,7 @@ NM = $(CROSSDEV)nm
OBJCOPY = $(CROSSDEV)objcopy
OBJDUMP = $(CROSSDEV)objdump
-MAXOPTIMIZATION = -O3
+MAXOPTIMIZATION ?= -O3
ARCHCPUFLAGS = -mcpu=cortex-m4 \
-mthumb \
-march=armv7e-m \