summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-02-03 13:41:18 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-04 20:38:13 +0000
commit1c0d2e7908712d531f25595d2e3d7d546e1036aa (patch)
tree3cf03f74edffece754b100b154458c3cc2615588
parent9503ce969998f223486f3bfbae0f22e485822795 (diff)
downloadopenembedded-core-1c0d2e7908712d531f25595d2e3d7d546e1036aa.tar.gz
openembedded-core-1c0d2e7908712d531f25595d2e3d7d546e1036aa.tar.bz2
openembedded-core-1c0d2e7908712d531f25595d2e3d7d546e1036aa.zip
glibc: Enable cet
Enable Intel Control-flow Enforcement Technology (CET) instrumentation support helps with overcoming /lib/libc.so.6: CPU ISA level is lower than required Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/glibc/glibc_2.33.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc_2.33.bb b/meta/recipes-core/glibc/glibc_2.33.bb
index 2259d60196..b39f97d656 100644
--- a/meta/recipes-core/glibc/glibc_2.33.bb
+++ b/meta/recipes-core/glibc/glibc_2.33.bb
@@ -74,6 +74,9 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}"
+EXTRA_OECONF_append_x86 = " --enable-cet"
+EXTRA_OECONF_append_x86-64 = " --enable-cet"
+
PACKAGECONFIG ??= "nscd"
PACKAGECONFIG[nscd] = "--enable-nscd,--disable-nscd"