toolchain: Include hardening.mk for toolchain build
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 1 Jan 2019 23:34:18 +0000 (00:34 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 24 Jan 2019 20:52:39 +0000 (21:52 +0100)
commite61061a0886e2d0d6b075d75ae9b53d0a6bc9042
tree1ee3729a4bcc073ba6aa9208d692fb51a038b586
parent5bac62389596b260d89677cb808c7eddd5cc6ad9
toolchain: Include hardening.mk for toolchain build

This adds the hardening options also to the toolchain build.
With this change the /usr/lib/libstdc++.so.6.0.24 library will have
stack canaries and the /lib/libgcc_s.so.1 library will have Full RELRO.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
include/toolchain-build.mk