toolchain: glibc: add --enable-stack-protector=all option for glibc
authorCedric DOURLENT <cedric.dourlent@softathome.com>
Thu, 18 Jan 2024 09:17:21 +0000 (10:17 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 19 Jan 2024 20:28:53 +0000 (21:28 +0100)
Add missing configurition for glibc based on CONFIG_PKG_CC_STACKPROTECTOR_ALL

Signed-off-by: Cedric DOURLENT <cedric.dourlent@softathome.com>
toolchain/glibc/common.mk

index 18413cd271af544ba7a1c8808e45c86339eea7e2..6b237f54789c94fb360a45bd99fa751944775f2f 100644 (file)
@@ -64,6 +64,7 @@ GLIBC_CONFIGURE:= \
                --$(if $(CONFIG_SOFT_FLOAT),without,with)-fp \
                  $(if $(CONFIG_PKG_CC_STACKPROTECTOR_REGULAR),--enable-stack-protector=yes) \
                  $(if $(CONFIG_PKG_CC_STACKPROTECTOR_STRONG),--enable-stack-protector=strong) \
+                 $(if $(CONFIG_PKG_CC_STACKPROTECTOR_ALL),--enable-stack-protector=all) \
                  $(if $(CONFIG_PKG_RELRO_FULL),--enable-bind-now) \
                --enable-kernel=5.15.0