summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-06-09 20:33:46 -0400
committerLLLL Colonq <llll@colonq>2026-06-09 20:33:46 -0400
commit08ca0370b7bd4cce61723b6d6ec9b85ff38fc51a (patch)
tree5e5ff758fb93d10d6a662dd7d85b757db574a219 /Makefile
parent05117cef2423ddc5deedf5dd51df28806065d0c8 (diff)
Compile with -Oz
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b26cd39..baa81e8 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ CC ?= gcc
AR ?= ar
CHK_SOURCES ?= src/main.c $(SRCS)
override CPPFLAGS += -MMD -MP
-override CFLAGS += -fPIC --std=c99 -g -Ideps/ -Isrc/ -Iinclude/ -Wall -Wextra -Wpedantic -Wconversion -Wformat-security -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wnull-dereference -Wfloat-equal -Wundef -Wpointer-arith -Wbad-function-cast -Wlogical-op -Wmissing-braces -Wcast-align -Wstrict-overflow=5 # -ftrapv
+override CFLAGS += -Oz -fPIC --std=c99 -g -Ideps/ -Isrc/ -Iinclude/ -Wall -Wextra -Wpedantic -Wconversion -Wformat-security -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wnull-dereference -Wfloat-equal -Wundef -Wpointer-arith -Wbad-function-cast -Wlogical-op -Wmissing-braces -Wcast-align -Wstrict-overflow=5 -fwrapv # -ftrapv
override LDFLAGS += -g -static
BUILD = build_$(CC)