From: NRK Date: Sun, 14 May 2023 16:13:44 +0000 (+0600) Subject: Makefile: use -g3 for debug builds X-Git-Tag: v4.9~18^2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=ddcf3312058e791f208ec28c98a412981fb6e315;p=nnn.git Makefile: use -g3 for debug builds -g3 builds additional information such as macro definition and so on. --- diff --git a/Makefile b/Makefile index b6930330..c39703de 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ endif ifeq ($(strip $(O_DEBUG)),1) CPPFLAGS += -DDEBUG - CFLAGS += -g + CFLAGS += -g3 endif ifeq ($(strip $(O_NORL)),1)