1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

strace: remove -fno-omit-frame-pointer from DEBUG_OPTIMIZATION when ptest is enabled

* otherwise strace-4.22/tests/inject-nf.c fails to build as discussed here:
  http://lists.openembedded.org/pipermail/openembedded-core/2018-May/150647.html

(From OE-Core rev: 2f8fdf684a5ed52412ee220b55508d42a1888762)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Martin Jansa
2018-05-10 22:29:57 +00:00
committed by Richard Purdie
parent 9ed25b4eb5
commit 8e3d864944
@@ -23,6 +23,9 @@ inherit autotools ptest bluetooth
EXTRA_OECONF += "--enable-mpers=no"
CFLAGS_append_libc-musl = " -Dsigcontext_struct=sigcontext"
# otherwise strace-4.22/tests/inject-nf.c fails to build as discussed here:
# http://lists.openembedded.org/pipermail/openembedded-core/2018-May/150647.html
DEBUG_OPTIMIZATION_remove = "${@bb.utils.contains('PTEST_ENABLED', '1', '-fno-omit-frame-pointer', '', d)}"
RDEPENDS_${PN}-ptest += "make coreutils grep gawk sed"