summaryrefslogtreecommitdiffstats
path: root/configs/platform-x86_64/platformconfig
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2021-03-11 07:48:58 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2021-03-15 09:42:19 +0100
commitd76424428b270281e0925d98d7a1152e8641d94d (patch)
treef7971db2532cc59b7fd61a6258c46c24704b9992 /configs/platform-x86_64/platformconfig
parent916fb2112424667b366b581fd59eeec5e783c17e (diff)
downloadDistroKit-d76424428b270281e0925d98d7a1152e8641d94d.tar.gz
DistroKit-d76424428b270281e0925d98d7a1152e8641d94d.tar.xz
platforms: enable more toolchain hardening options
It is recommended to enable these options. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-x86_64/platformconfig')
-rw-r--r--configs/platform-x86_64/platformconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/platform-x86_64/platformconfig b/configs/platform-x86_64/platformconfig
index eb45e06..fecfddc 100644
--- a/configs/platform-x86_64/platformconfig
+++ b/configs/platform-x86_64/platformconfig
@@ -85,12 +85,12 @@ PTXCONF_COMPILER_PREFIX_BOOTLOADER="${PTXCONF_COMPILER_PREFIX}"
PTXCONF_TARGET_HARDEN_STACK=y
# PTXCONF_TARGET_HARDEN_STACK_STRONG is not set
# PTXCONF_TARGET_HARDEN_STACK_ALL is not set
-# PTXCONF_TARGET_HARDEN_STACKCLASH is not set
+PTXCONF_TARGET_HARDEN_STACKCLASH=y
PTXCONF_TARGET_HARDEN_FORTIFY=y
PTXCONF_TARGET_HARDEN_RELRO=y
PTXCONF_TARGET_HARDEN_BINDNOW=y
PTXCONF_TARGET_HARDEN_PIE=y
-# PTXCONF_TARGET_HARDEN_GLIBCXX_ASSERTIONS is not set
+PTXCONF_TARGET_HARDEN_GLIBCXX_ASSERTIONS=y
# end of hardening options
#