From 1f0f2245c634fbff897af580e0a20df68ba59937 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 11 Sep 2016 11:40:32 +0200 Subject: [PATCH] README: update example to require current hardening flags --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 923ec61..0b82d14 100644 --- a/README +++ b/README @@ -67,7 +67,7 @@ Consider the following compiler line: blhc generates the following warnings because all hardening flags are missing: - CFLAGS missing (-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security): gcc -g -O2 -o test test.c + CFLAGS missing (-fstack-protector-strong -Wformat -Werror=format-security): gcc -g -O2 -o test test.c CPPFLAGS missing (-D_FORTIFY_SOURCE=2): gcc -g -O2 -o test test.c LDFLAGS missing (-Wl,-z,relro): gcc -g -O2 -o test test.c -- 2.43.2