toolchain: add gcc configure default PIE and SSP
authorJulien Dusser <julien.dusser@free.fr>
Sun, 7 Jan 2018 16:41:35 +0000 (17:41 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 27 Jan 2018 18:02:47 +0000 (19:02 +0100)
commit55779569eb817361222d653accd929a752b8327d
tree7a9bf11f138f57a0303eda7bee72f5e3233487f3
parentdf0bd42fdeb76c9bc51b816c3df699db123c0024
toolchain: add gcc configure default PIE and SSP

GCC supports starting version 5 --enable-default-ssp and starting version 6
--enable-default-pie.

It produces hardened binaries by default without dealing with package
compilation flags.

Signed-off-by: Julien Dusser <julien.dusser@free.fr>
toolchain/gcc/Config.in
toolchain/gcc/common.mk