[oe-commits] [openembedded-core] 36/46: strace: remove -fno-omit-frame-pointer from DEBUG_OPTIMIZATION when ptest is enabled
git at git.openembedded.org
git at git.openembedded.org
Tue May 15 09:58:05 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit 2f8fdf684a5ed52412ee220b55508d42a1888762
Author: Martin Jansa <martin.jansa at gmail.com>
AuthorDate: Thu May 10 22:29:57 2018 +0000
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 at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-devtools/strace/strace_4.22.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-devtools/strace/strace_4.22.bb b/meta/recipes-devtools/strace/strace_4.22.bb
index 196c9d8..947b3f7 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"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list