diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-02-03 13:41:18 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-05 12:00:54 +0000 |
commit | 51cf44884971d6fc919f2a799fb08ee61acf7518 (patch) | |
tree | f2c71b277cff9c60a78c970e16f00c9670c06629 /meta | |
parent | 7b8df042d0c175388d6230f008b1c83d5c5cd5da (diff) | |
download | poky-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.bb | 3 |
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 | ||
75 | EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}" | 75 | EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}" |
76 | 76 | ||
77 | EXTRA_OECONF_append_x86 = " --enable-cet" | ||
78 | EXTRA_OECONF_append_x86-64 = " --enable-cet" | ||
79 | |||
77 | PACKAGECONFIG ??= "nscd" | 80 | PACKAGECONFIG ??= "nscd" |
78 | PACKAGECONFIG[nscd] = "--enable-nscd,--disable-nscd" | 81 | PACKAGECONFIG[nscd] = "--enable-nscd,--disable-nscd" |
79 | 82 | ||