redhat: Enable glic memory tagging for aarch64

Glibc on arm has a memory tagging option that can be enabled
via GLIBC_TUNABLES="glibc.mem.tagging=$SOMETHING" when glibc
is built with memory tagging support and the kernel/HW supports
MTE. This should be side effect free unless the user turns it
on with approprate HW support.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
This commit is contained in:
Jeremy Linton 2021-03-25 16:13:41 -05:00 committed by fweimer
parent 8d4b53ceef
commit b84da5c20e

View File

@ -1118,6 +1118,9 @@ build()
--disable-profile \
%if %{with bootstrap}
--without-selinux \
%endif
%ifarch aarch64
--enable-memory-tagging \
%endif
--disable-crypt ||
{ cat config.log; false; }