diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-12-20 13:23:42 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-12-20 13:23:42 -0600 |
commit | a94cda2860f4ea87f254966f71307e928ffe9bcb (patch) | |
tree | b29057af9d4225d96e8d3b661be773a63f596ea2 /nuttx/configs/zp214xpa/nxlines | |
parent | dfea55cdfbbe46972be0ccc9eed2c5402c96ca22 (diff) | |
download | px4-nuttx-a94cda2860f4ea87f254966f71307e928ffe9bcb.tar.gz px4-nuttx-a94cda2860f4ea87f254966f71307e928ffe9bcb.tar.bz2 px4-nuttx-a94cda2860f4ea87f254966f71307e928ffe9bcb.zip |
Finishes separation of debug symbols and optimization selections
Diffstat (limited to 'nuttx/configs/zp214xpa/nxlines')
-rw-r--r-- | nuttx/configs/zp214xpa/nxlines/Make.defs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/configs/zp214xpa/nxlines/Make.defs b/nuttx/configs/zp214xpa/nxlines/Make.defs index 274eb8d72..51c9dfbf9 100644 --- a/nuttx/configs/zp214xpa/nxlines/Make.defs +++ b/nuttx/configs/zp214xpa/nxlines/Make.defs @@ -82,8 +82,10 @@ endif ifeq ($(CONFIG_DEBUG_SYMBOLS),y) ARCHOPTIMIZATION = -g -else - ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer +endif + +ifneq ($(CONFIG_DEBUG_NOOPT),y) + ARCHOPTIMIZATION += $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer endif ifeq ($(ARCHCCMAJOR),4) |