Skip to content

Commit

Permalink
toolchain: glibc: add --enable-stack-protector=all option for glibc
Browse files Browse the repository at this point in the history
Add missing configurition for glibc based on CONFIG_PKG_CC_STACKPROTECTOR_ALL

Signed-off-by: Cedric DOURLENT <[email protected]>
  • Loading branch information
sah-cdo authored and hauke committed Jan 19, 2024
1 parent 869f8b2 commit 34fd41a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions toolchain/glibc/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 34fd41a

Please sign in to comment.