summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/strace/strace_4.22.bb3
1 files changed, 3 insertions, 0 deletions
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
23EXTRA_OECONF += "--enable-mpers=no" 23EXTRA_OECONF += "--enable-mpers=no"
24 24
25CFLAGS_append_libc-musl = " -Dsigcontext_struct=sigcontext" 25CFLAGS_append_libc-musl = " -Dsigcontext_struct=sigcontext"
26# otherwise strace-4.22/tests/inject-nf.c fails to build as discussed here:
27# http://lists.openembedded.org/pipermail/openembedded-core/2018-May/150647.html
28DEBUG_OPTIMIZATION_remove = "${@bb.utils.contains('PTEST_ENABLED', '1', '-fno-omit-frame-pointer', '', d)}"
26 29
27RDEPENDS_${PN}-ptest += "make coreutils grep gawk sed" 30RDEPENDS_${PN}-ptest += "make coreutils grep gawk sed"
28 31