Enable debug information when building with DEBUG=1

Change-Id: Ie8d5305da64d0e2de7656d83bcbfa1d5b083c1ba
This commit is contained in:
Romain Goyet
2017-04-26 11:09:56 +02:00
committed by Émilie Feral
parent 777ba19436
commit c60c77a7f5

View File

@@ -7,7 +7,7 @@ DEBUG ?= 1
# Do not edit below this
ifeq ($(DEBUG),1)
OPTIM_SFLAGS ?= -O0
OPTIM_SFLAGS ?= -O0 -g
else
OPTIM_SFLAGS ?= -Os
endif