summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2018-05-10 22:29:57 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-15 10:56:50 +0100
commit8e3d864944e59bd0b3c0b25f3d3dcb9c178286fb (patch)
treee33217485fb5d505c7047b6c1940d2cbe526339a /meta/recipes-devtools/strace
parent9ed25b4eb52cef6167d06892d4b810e76d8a5e5e (diff)
downloadpoky-8e3d864944e59bd0b3c0b25f3d3dcb9c178286fb.tar.gz
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>
Diffstat (limited to 'meta/recipes-devtools/strace')
-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