Merge pull request #13423 from kaspar030/turn_on_native_debug
native: turn on creation of debug symbols (CFLAGS += -g)
This commit is contained in:
commit
86fcc35994
@ -20,7 +20,9 @@ export CGANNOTATE ?= cg_annotate
|
||||
export GPROF ?= gprof
|
||||
|
||||
# basic cflags:
|
||||
CFLAGS += -Wall -Wextra -pedantic
|
||||
CFLAGS += -Wall -Wextra -pedantic $(CFLAGS_DBG)
|
||||
CFLAGS_DBG ?= -g3
|
||||
|
||||
# default std set to gnu99 of not overwritten by user
|
||||
ifeq (,$(filter -std=%, $(CFLAGS)))
|
||||
CFLAGS += -std=gnu11
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user