From 8e3d864944e59bd0b3c0b25f3d3dcb9c178286fb Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 10 May 2018 22:29:57 +0000 Subject: 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/strace/strace_4.22.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/recipes-devtools/strace/strace_4.22.bb') diff --git a/meta/recipes-devtools/strace/strace_4.22.bb b/meta/recipes-devtools/strace/strace_4.22.bb index 196c9d8587..947b3f7bf6 100644 --- a/meta/recipes-devtools/strace/strace_4.22.bb +++ b/meta/recipes-devtools/strace/strace_4.22.bb @@ -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" -- cgit v1.2.3-54-g00ecf