]> Sergey Matveev's repositories - nnn.git/commitdiff
Makefile: use -g3 for debug builds
authorNRK <nrk@disroot.org>
Sun, 14 May 2023 16:13:44 +0000 (22:13 +0600)
committerNRK <nrk@disroot.org>
Sun, 14 May 2023 16:13:44 +0000 (22:13 +0600)
-g3 builds additional information such as macro definition and so on.

Makefile

index b6930330be77f9f2f252a96ba9b3e727ddfdc5aa..c39703de924009cef46fad55ed03dde5fd8daf00 100644 (file)
--- 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)