aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorkrolyxon <krolyxon@tutanota.com>2023-06-11 21:37:49 +0530
committerkrolyxon <krolyxon@tutanota.com>2023-06-11 21:37:49 +0530
commitd566ca84e8562e73c95639b2eec2ab47c72598e3 (patch)
tree9fdbcabe7c41fc45f57ab17ad846de90f67f4d39 /config.mk
parente4380093d694f075e07f489e2c2e764785b441f2 (diff)
parent723e140d5525cdc4572f5b859ec7b66433b5e32b (diff)
Merge branch 'nsxiv-master'HEADmaster
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index fdd50a8..20bb2b2 100644
--- a/config.mk
+++ b/config.mk
@@ -23,8 +23,11 @@ HAVE_LIBWEBP = $(OPT_DEP_DEFAULT)
# Compiler and linker
CC = c99
-# CFLAGS, any optimization flags goes here
-CFLAGS = -Wall -pedantic
+# CFLAGS, any additional compiler flags goes here
+CFLAGS = -Wall -pedantic -O2 -DNDEBUG
+# Uncomment for a debug build using gcc/clang
+# CFLAGS = -Wall -pedantic -DDEBUG -g3 -fsanitize=address,undefined
+# LDFLAGS = $(CFLAGS)
# icons that will be installed via `make icon`
ICONS = 16x16.png 32x32.png 48x48.png 64x64.png 128x128.png