Skip to content

Commit

Permalink
toolchain: Include hardening.mk for toolchain build
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
hauke committed Jan 24, 2019
1 parent 5bac623 commit e61061a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/toolchain-build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e61061a

Please sign in to comment.