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:00:31 +0100 |
commit | 2f8fdf684a5ed52412ee220b55508d42a1888762 (patch) | |
tree | 8205d5ed57aee32293f95a6845febce8ad3843d0 | |
parent | abd809670ea4048551d20c11da95203536250001 (diff) | |
download | openembedded-core-2f8fdf684a5ed52412ee220b55508d42a1888762.tar.gz openembedded-core-2f8fdf684a5ed52412ee220b55508d42a1888762.tar.bz2 openembedded-core-2f8fdf684a5ed52412ee220b55508d42a1888762.zip |
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
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-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 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" |