config: add description-based output matching with desc: prefix #8
1 changed files with 4 additions and 2 deletions
build: harden default flags
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I9a86a035c2e35a8ccbac9c7672d82dcb6a6a6964
commit
237a013e03
6
Makefile
6
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue