summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm32f4discovery/winbuild/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm32f4discovery/winbuild/Make.defs')
-rw-r--r--nuttx/configs/stm32f4discovery/winbuild/Make.defs2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/stm32f4discovery/winbuild/Make.defs b/nuttx/configs/stm32f4discovery/winbuild/Make.defs
index 6110b7bbd..2d9e4f1e2 100644
--- a/nuttx/configs/stm32f4discovery/winbuild/Make.defs
+++ b/nuttx/configs/stm32f4discovery/winbuild/Make.defs
@@ -97,7 +97,7 @@ OBJDUMP = $(CROSSDEV)objdump.exe
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
-ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
+ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
ARCHOPTIMIZATION = -g
else
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer