summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-03-19 10:14:26 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-03-20 18:54:56 +0000
commit0163e6b8d033cacc5d05c0d7a2aaadf58732de2c (patch)
tree9e5ae95228b25f1c8489c33e828ea1b80b9c3a47
parent9c30eb87e3be90e370bf751d9196efb278617a39 (diff)
downloadpoky-contrib-0163e6b8d033cacc5d05c0d7a2aaadf58732de2c.tar.gz
poky-contrib-0163e6b8d033cacc5d05c0d7a2aaadf58732de2c.tar.bz2
poky-contrib-0163e6b8d033cacc5d05c0d7a2aaadf58732de2c.zip
gcc-sanitizers: Package up hwasan files
This is introduced in GCC-11 (From OE-Core rev: 3df4a25465e488ba7c17d0b358435fc1088c6dac) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gcc/gcc-sanitizers.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers.inc b/meta/recipes-devtools/gcc/gcc-sanitizers.inc
index 9e643ee277..d0348c4817 100644
--- a/meta/recipes-devtools/gcc/gcc-sanitizers.inc
+++ b/meta/recipes-devtools/gcc/gcc-sanitizers.inc
@@ -83,10 +83,11 @@ COMPATIBLE_HOST = '(x86_64|i.86|powerpc|sparc|s390|arm|aarch64).*-linux'
# musl is currently broken entirely
COMPATIBLE_HOST_libc-musl = 'null'
-FILES_libasan += "${libdir}/libasan.so.*"
+FILES_libasan += "${libdir}/libasan.so.* ${libdir}/libhwasan.so.*"
FILES_libasan-dev += "\
${libdir}/libasan_preinit.o \
${libdir}/libasan.so \
+ ${libdir}/libhwasan.so \
${libdir}/libasan.la \
"
FILES_libasan-staticdev += "${libdir}/libasan.a"