diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2018-05-10 22:29:57 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-15 10:56:50 +0100 |
commit | 8e3d864944e59bd0b3c0b25f3d3dcb9c178286fb (patch) | |
tree | e33217485fb5d505c7047b6c1940d2cbe526339a /meta/recipes-devtools/strace | |
parent | 9ed25b4eb52cef6167d06892d4b810e76d8a5e5e (diff) | |
download | poky-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.bb | 3 |
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 | |||
23 | EXTRA_OECONF += "--enable-mpers=no" | 23 | EXTRA_OECONF += "--enable-mpers=no" |
24 | 24 | ||
25 | CFLAGS_append_libc-musl = " -Dsigcontext_struct=sigcontext" | 25 | CFLAGS_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 | ||
28 | DEBUG_OPTIMIZATION_remove = "${@bb.utils.contains('PTEST_ENABLED', '1', '-fno-omit-frame-pointer', '', d)}" | ||
26 | 29 | ||
27 | RDEPENDS_${PN}-ptest += "make coreutils grep gawk sed" | 30 | RDEPENDS_${PN}-ptest += "make coreutils grep gawk sed" |
28 | 31 | ||