From e61061a0886e2d0d6b075d75ae9b53d0a6bc9042 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Wed, 2 Jan 2019 00:34:18 +0100 Subject: [PATCH] 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 --- include/toolchain-build.mk | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2