aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/glibc
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2021-12-28 21:37:21 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2022-01-07 22:30:40 +0100
commit77df120bc8b220a79a8b158a457847d0d3d3c94b (patch)
tree7f4c3e44597d80e689333a7b83915effd44ee42e /toolchain/glibc
parent1b251d36ef4e63385b48befe6ce80fcff57264e1 (diff)
downloadupstream-77df120bc8b220a79a8b158a457847d0d3d3c94b.tar.gz
upstream-77df120bc8b220a79a8b158a457847d0d3d3c94b.tar.bz2
upstream-77df120bc8b220a79a8b158a457847d0d3d3c94b.zip
toolchain: glibc: Enable --enable-bind-now
Enable --enable-bind-now when CONFIG_PKG_RELRO_FULL is set. This option is activated by default. This will enable full RELRO protection. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'toolchain/glibc')
-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 19610c1e90..e957ff52e5 100644
--- a/toolchain/glibc/common.mk
+++ b/toolchain/glibc/common.mk
@@ -63,6 +63,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_RELRO_FULL),--enable-bind-now) \
--enable-kernel=5.4.0
export libc_cv_ssp=no