diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-06-07 21:16:31 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-06-07 21:16:31 +0200 |
commit | 66879e6ff64b23e417b4101243922cefd34eef7d (patch) | |
tree | 4c49dcb9dc50ad2870cd899d30f521965611dbab /nuttx/arch/arm/src/armv7-m/Toolchain.defs | |
parent | b52aeea746f7b38633cc571f5d8a6a849ed5e218 (diff) | |
download | px4-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 'nuttx/arch/arm/src/armv7-m/Toolchain.defs')
-rw-r--r-- | nuttx/arch/arm/src/armv7-m/Toolchain.defs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/armv7-m/Toolchain.defs b/nuttx/arch/arm/src/armv7-m/Toolchain.defs index 4de5b49f4..1ba764593 100644 --- a/nuttx/arch/arm/src/armv7-m/Toolchain.defs +++ b/nuttx/arch/arm/src/armv7-m/Toolchain.defs @@ -243,7 +243,7 @@ endif ifeq ($(CONFIG_ARMV7M_TOOLCHAIN),GNU_EABI) CROSSDEV ?= arm-none-eabi- ARCROSSDEV ?= arm-none-eabi- - MAXOPTIMIZATION = -O3 + MAXOPTIMIZATION ?= -O3 ifeq ($(CONFIG_ARCH_CORTEXM4),y) ifeq ($(CONFIG_ARCH_FPU),y) ARCHCPUFLAGS = -mcpu=cortex-m4 -mthumb -march=armv7e-m -mfpu=fpv4-sp-d16 -mfloat-abi=hard |