config: add description-based output matching with desc: prefix #8

Merged
NotAShelf merged 16 commits from notashelf/push-vlkvqnysylxt into main 2026-04-21 13:49:21 +00:00
Showing only changes of commit 237a013e03 - Show all commits

build: harden default flags

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I9a86a035c2e35a8ccbac9c7672d82dcb6a6a6964
raf 2026-04-16 16:02:43 +03:00
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -17,8 +17,10 @@ SYSTEMD_INSTALL = $(HOME)/.config/systemd/user
# Compiler and flags
CC = gcc
CFLAGS = -std=c11 -Wall -Wextra -Werror -pedantic -O2 -g
CFLAGS += -D_GNU_SOURCE -DCHROMA_VERSION=\"$(VERSION)\"
CPPFLAGS = -I$(INCDIR)
CFLAGS += -fstack-protector-strong -fstack-clash-protection
CFLAGS += -fno-common -Wshadow -Wstrict-prototypes
CFLAGS += -Wformat=2 -Wnormalized=nfc
CFLAGS += -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DCHROMA_VERSION=\"$(VERSION)\"
# Debug build flags
DEBUG_CFLAGS = -std=c11 -Wall -Wextra -Werror -pedantic -Og -g3 -DDEBUG