Description: Use hardening flags in Makefile.conf.
Author: Bas Couwenberg <sebastic@xs4all.nl>
Forwarded: not-needed

--- a/Makefile.conf
+++ b/Makefile.conf
@@ -144,3 +144,8 @@ ifneq ($(HOST),MINGW)
 # Required to compile on Linux without a warning about pread() and pwrite() functions.
 CFLAGS+=-D_POSIX_C_SOURCE=200809L
 endif
+
+# Hardening flags
+CFLAGS+=-g -fstack-protector-strong -Wformat -Werror=format-security
+CFLAGS+=-D_FORTIFY_SOURCE=2
+LDFLAGS+=-Wl,-z,relro
