]> code.ossystems Code Review - openembedded-core.git/commitdiff
elfutils: silence a new QA warning
authorRoss Burton <ross@burtonini.com>
Wed, 2 Sep 2020 10:41:54 +0000 (11:41 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Sep 2020 15:00:40 +0000 (16:00 +0100)
The fix to the gnu-hash-style check (oe-core 70d932f21) causes elfutils-ptest
to emit a new warning.  This binary is explicitly compiled with a curated
minimal set of compiler flags, so to avoid breaking the test simply skip the
ldflags check for elfutils-ptest.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/elfutils/elfutils_0.180.bb

index 9f8bfc24f32a464e9c0e8677fb7f9722c32003dd..61e46a4ed7b85b1a8445ab4380a89d31aaadc784 100644 (file)
@@ -114,6 +114,8 @@ FILES_libdw  = "${libdir}/libdw-${PV}.so ${libdir}/libdw.so.* ${libdir}/elfutils
 
 # The package contains symlinks that trip up insane
 INSANE_SKIP_${MLPREFIX}libdw = "dev-so"
+# The nlist binary in the tests uses explicitly minimal compiler flags
+INSANE_SKIP_${PN}-ptest += "ldflags"
 
 # avoid stripping some generated binaries otherwise some of the tests such as test-nlist,
 # run-strip-reloc.sh, run-strip-strmerge.sh and so on will fail