From: Simon Ruderich Date: Sun, 11 Sep 2016 09:40:32 +0000 (+0200) Subject: README: update example to require current hardening flags X-Git-Tag: 0.08~16 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=1f0f2245c634fbff897af580e0a20df68ba59937;p=blhc%2Fblhc.git README: update example to require current hardening flags --- 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