More separation of debug symbols and optimization selections

This commit is contained in:
Gregory Nutt
2013-12-20 12:36:02 -06:00
parent 434dab59dc
commit a4e72dec0e
32 changed files with 141 additions and 83 deletions
+4 -2
View File
@@ -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