summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-11-16 23:06:21 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-11-17 11:03:32 -0600
commit7611dc91d7f5211071fe1ecca3179a9ca6be9f2e (patch)
treef299d0d02d63aef6b705e9f3d075136ec9a7fe81 /Makefile
parente95f14541a55c6e71881faebd1a7197b6d9bf20a (diff)
enable debug symbols by default
they does not affect performance and the size's increase is negligible
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d7082fd..6cde460 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ include config.mk
# flags for compiling
DWLCPPFLAGS = -I. -DWLR_USE_UNSTABLE -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XWAYLAND)
-DWLDEVCFLAGS = -pedantic -Wall -Wextra -Wdeclaration-after-statement -Wno-unused-parameter -Wno-sign-compare -Wshadow -Wunused-macros\
+DWLDEVCFLAGS = -g -pedantic -Wall -Wextra -Wdeclaration-after-statement -Wno-unused-parameter -Wno-sign-compare -Wshadow -Wunused-macros\
-Werror=strict-prototypes -Werror=implicit -Werror=return-type -Werror=incompatible-pointer-types
# CFLAGS / LDFLAGS