summaryrefslogtreecommitdiffstats
path: root/meta
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-05 12:00:54 +0000
commit51cf44884971d6fc919f2a799fb08ee61acf7518 (patch)
treef2c71b277cff9c60a78c970e16f00c9670c06629 /meta
parent7b8df042d0c175388d6230f008b1c83d5c5cd5da (diff)
downloadpoky-51cf44884971d6fc919f2a799fb08ee61acf7518.tar.gz
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 (From OE-Core rev: c864e0e496ab1a4176d7a1673d8fc5b300ae68cf) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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} \
74 74
75EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}" 75EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}"
76 76
77EXTRA_OECONF_append_x86 = " --enable-cet"
78EXTRA_OECONF_append_x86-64 = " --enable-cet"
79
77PACKAGECONFIG ??= "nscd" 80PACKAGECONFIG ??= "nscd"
78PACKAGECONFIG[nscd] = "--enable-nscd,--disable-nscd" 81PACKAGECONFIG[nscd] = "--enable-nscd,--disable-nscd"
79 82