summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric DOURLENT <cedric.dourlent@softathome.com>2024-01-18 10:17:21 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2024-01-19 21:28:53 +0100
commit34fd41a99784b5d0f281d3c7053ec27f0dedca39 (patch)
tree71f3e5ea0bbeddfe1c477d12697d5053fa4dd1f4
parent869f8b21e755e752e6e0bbec1750810751c54b72 (diff)
downloadopenwrt-34fd41a99784b5d0f281d3c7053ec27f0dedca39.tar.gz
openwrt-34fd41a99784b5d0f281d3c7053ec27f0dedca39.tar.bz2
openwrt-34fd41a99784b5d0f281d3c7053ec27f0dedca39.zip
toolchain: glibc: add --enable-stack-protector=all option for glibc
Add missing configurition for glibc based on CONFIG_PKG_CC_STACKPROTECTOR_ALL Signed-off-by: Cedric DOURLENT <cedric.dourlent@softathome.com>
-rw-r--r--toolchain/glibc/common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/glibc/common.mk b/toolchain/glibc/common.mk
index 18413cd271..6b237f5478 100644
--- a/toolchain/glibc/common.mk
+++ b/toolchain/glibc/common.mk
@@ -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