glibc: Enable CET

Enable Intel Control-flow Enforcement Technology (CET) support
to protect the library with indirect branch tracking (IBT) and
shadow stack (SHSTK).

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2022-02-04 16:47:23 +00:00
committed by Peter Müller
parent 1c3905afa6
commit cf557eca9c

View File

@@ -65,6 +65,10 @@ EXTRA_CONFIG += \
--enable-bind-now \
--disable-crypt
ifeq "$(BUILD_ARCH)" "x86_64"
EXTRA_CONFIG += --enable-cet
endif
###############################################################################
# Top-level Rules
###############################################################################