aboutsummaryrefslogtreecommitdiff
path: root/makefiles/toolchain_gnu-arm-eabi.mk
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-06-07 21:16:31 +0200
committerLorenz Meier <lm@inf.ethz.ch>2013-06-07 21:16:31 +0200
commit66879e6ff64b23e417b4101243922cefd34eef7d (patch)
tree4c49dcb9dc50ad2870cd899d30f521965611dbab /makefiles/toolchain_gnu-arm-eabi.mk
parentb52aeea746f7b38633cc571f5d8a6a849ed5e218 (diff)
downloadpx4-firmware-66879e6ff64b23e417b4101243922cefd34eef7d.tar.gz
px4-firmware-66879e6ff64b23e417b4101243922cefd34eef7d.tar.bz2
px4-firmware-66879e6ff64b23e417b4101243922cefd34eef7d.zip
Hotfix: Make maxoptimization configurable from the shell via MAXOPTIMIZATION=-O0 V=1 make archives
Diffstat (limited to 'makefiles/toolchain_gnu-arm-eabi.mk')
-rw-r--r--makefiles/toolchain_gnu-arm-eabi.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefiles/toolchain_gnu-arm-eabi.mk b/makefiles/toolchain_gnu-arm-eabi.mk
index 99c2776fd..3f4d3371a 100644
--- a/makefiles/toolchain_gnu-arm-eabi.mk
+++ b/makefiles/toolchain_gnu-arm-eabi.mk
@@ -50,7 +50,7 @@ OBJDUMP = $(CROSSDEV)objdump
# XXX this is pulled pretty directly from the fmu Make.defs - needs cleanup
-MAXOPTIMIZATION = -O3
+MAXOPTIMIZATION ?= -O3
# Base CPU flags for each of the supported architectures.
#