diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-12-20 12:36:02 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-12-20 12:36:02 -0600 |
commit | dfea55cdfbbe46972be0ccc9eed2c5402c96ca22 (patch) | |
tree | 7675f3efa2f2e8c99d338f1f809edc2bef0db2bc /nuttx/configs/sim/pashello/Make.defs | |
parent | b80eaf7a0505b5f2e4d434edee324f03cdeae416 (diff) | |
download | px4-nuttx-dfea55cdfbbe46972be0ccc9eed2c5402c96ca22.tar.gz px4-nuttx-dfea55cdfbbe46972be0ccc9eed2c5402c96ca22.tar.bz2 px4-nuttx-dfea55cdfbbe46972be0ccc9eed2c5402c96ca22.zip |
More separation of debug symbols and optimization selections
Diffstat (limited to 'nuttx/configs/sim/pashello/Make.defs')
-rw-r--r-- | nuttx/configs/sim/pashello/Make.defs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/configs/sim/pashello/Make.defs b/nuttx/configs/sim/pashello/Make.defs index 553026914..3ce6b9406 100644 --- a/nuttx/configs/sim/pashello/Make.defs +++ b/nuttx/configs/sim/pashello/Make.defs @@ -40,8 +40,10 @@ HOSTOS = ${shell uname -o 2>/dev/null || echo "Other"} ifeq ($(CONFIG_DEBUG_SYMBOLS),y) ARCHOPTIMIZATION = -g -else - ARCHOPTIMIZATION = -O2 +endif + +ifneq ($(CONFIG_DEBUG_NOOPT),y) + ARCHOPTIMIZATION += -O2 endif ARCHCPUFLAGS = -fno-builtin |