[posix-app] fix debug flag (#3689)

This commit is contained in:
Yakun Xu
2019-03-14 21:58:48 -07:00
committed by Jonathan Hui
parent 6256b5cdde
commit ea459d4cc3
+1 -1
View File
@@ -63,6 +63,7 @@ UDP_FORWARD ?= 1
COMMONCFLAGS := \
-DOPENTHREAD_CONFIG_UART_CLI_RAW=1 \
-g \
$(NULL)
# If the user has asserted COVERAGE, alter the configuration options
@@ -85,7 +86,6 @@ endif
ifneq ($(DEBUG),1)
COMMONCFLAGS += \
-O2 \
-g \
$(NULL)
endif