about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2024-06-09 20:27:36 +0200
committerLeah Neukirchen <leah@vuxu.org>2024-06-09 20:27:36 +0200
commit49716ba836e3cb77d3ee340e5bb7ee46f263a1f8 (patch)
tree7c30497d97e5625c0dccb8fc96ab7166d3a72524 /Makefile
parent6a39520fb104ddc0bedf19e7de872615590ba709 (diff)
downloadnano-exporter-49716ba836e3cb77d3ee340e5bb7ee46f263a1f8.tar.gz
nano-exporter-49716ba836e3cb77d3ee340e5bb7ee46f263a1f8.tar.xz
nano-exporter-49716ba836e3cb77d3ee340e5bb7ee46f263a1f8.zip
default CFLAGS to -g -O2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b09cc5d..91d7f13 100644
--- a/Makefile
+++ b/Makefile
@@ -36,8 +36,7 @@ COLLECTORS += vmstat
 
 # compile settings
 
-CFLAGS = -std=c11 -Wall -Wextra -pedantic -Wno-format-truncation $(if $(DEBUG),-g,-Os)
-LDFLAGS = $(if $(DEBUG),-g,-Os -s)
+CFLAGS = -std=c11 -Wall -Wextra -pedantic -Wno-format-truncation -g -O2
 
 # build rules