From: Cedric DOURLENT Date: Thu, 18 Jan 2024 09:17:21 +0000 (+0100) Subject: toolchain: glibc: add --enable-stack-protector=all option for glibc X-Git-Tag: v24.10.0-rc1~3293 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14391%2Fhead;p=thirdparty%2Fopenwrt.git 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 --- diff --git a/toolchain/glibc/common.mk b/toolchain/glibc/common.mk index 18413cd271a..6b237f54789 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