mirror of
https://github.com/curl/curl.git
synced 2026-05-30 06:57:28 +03:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -103,8 +103,8 @@ endif
|
|||
### Optional features
|
||||
|
||||
ifneq ($(findstring -debug,$(CFG)),)
|
||||
CFLAGS += -g
|
||||
CPPFLAGS += -DDEBUGBUILD
|
||||
LDFLAGS += -g
|
||||
else
|
||||
CPPFLAGS += -DNDEBUG
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue