]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - tools/make-functions
Improve hardening by using -fstack-protector-strong
[ipfire-2.x.git] / tools / make-functions
index 738675027237b88c60568d9d326c9965843ee41f..a42e3fa0e5a28a934bf235dbcc4f079bc589098b 100644 (file)
@@ -109,7 +109,7 @@ configure_target() {
        MACHINE="${TARGET_ARCH}"
 
        CFLAGS="-O2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fPIC"
-       CFLAGS="${CFLAGS} -fstack-protector-all --param=ssp-buffer-size=4 ${CFLAGS_ARCH}"
+       CFLAGS="${CFLAGS} -fstack-protector-strong --param=ssp-buffer-size=4 ${CFLAGS_ARCH}"
        CXXFLAGS="${CFLAGS}"
 }