Skip to content

Commit 0b50136

Browse files
add -Wdate-time, -D_FORTIFY_SOURCE=2 (#31)
1 parent afe4e42 commit 0b50136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ bindir = $(exec_prefix)/bin
66
datarootdir = $(prefix)/share
77
mandir ?= $(datarootdir)/man
88

9-
CPPFLAGS ?=
9+
CPPFLAGS ?= -Wdate-time -D_FORTIFY_SOURCE=2
1010
CFLAGS ?= -Os -Wall -Wpedantic -Wextra -Wformat-overflow -Werror-implicit-function-declaration
1111
LDFLAGS ?= -Wl,--gc-sections,-s
1212

0 commit comments

Comments
 (0)