Makefile.mk: fix -g option in debug mode [ci skip]
Add it to `CFLAGS` (was: `LDFLAGS`). Closes #10747
This commit is contained in:
parent
2f17a9b654
commit
a285b22f8f
@ -103,8 +103,8 @@ endif
|
||||
### Optional features
|
||||
|
||||
ifneq ($(findstring -debug,$(CFG)),)
|
||||
CFLAGS += -g
|
||||
CPPFLAGS += -DDEBUGBUILD
|
||||
LDFLAGS += -g
|
||||
else
|
||||
CPPFLAGS += -DNDEBUG
|
||||
endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user