]> ruderich.org/simon Gitweb - blhc/blhc.git/commitdiff
README: update example to require current hardening flags
authorSimon Ruderich <simon@ruderich.org>
Sun, 11 Sep 2016 09:40:32 +0000 (11:40 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 11 Sep 2016 09:40:32 +0000 (11:40 +0200)
README

diff --git a/README b/README
index 923ec619dc8ceb8b6dfaf238ea47701ad60b3408..0b82d14c38aa31b6bd045be5330233762b1faad6 100644 (file)
--- a/README
+++ b/README
@@ -67,7 +67,7 @@ Consider the following compiler line:
 
 blhc generates the following warnings because all hardening flags are missing:
 
 
 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
 
     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