aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2019-01-02 00:34:18 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2019-01-24 21:52:39 +0100
commite61061a0886e2d0d6b075d75ae9b53d0a6bc9042 (patch)
tree1ee3729a4bcc073ba6aa9208d692fb51a038b586
parent5bac62389596b260d89677cb808c7eddd5cc6ad9 (diff)
downloadupstream-e61061a0886e2d0d6b075d75ae9b53d0a6bc9042.tar.gz
upstream-e61061a0886e2d0d6b075d75ae9b53d0a6bc9042.tar.bz2
upstream-e61061a0886e2d0d6b075d75ae9b53d0a6bc9042.zip
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>
-rw-r--r--include/toolchain-build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/toolchain-build.mk b/include/toolchain-build.mk
index 883d74d25c..35d8c9380e 100644
--- a/include/toolchain-build.mk
+++ b/include/toolchain-build.mk
@@ -12,6 +12,7 @@ HOST_BUILD_PREFIX:=$(TOOLCHAIN_DIR)
BUILD_DIR_HOST:=$(BUILD_DIR_TOOLCHAIN)
include $(INCLUDE_DIR)/host-build.mk
+include $(INCLUDE_DIR)/hardening.mk
HOST_STAMP_PREPARED=$(HOST_BUILD_DIR)/.prepared