diff options
author | Nathan Lynch <nathan_lynch@mentor.com> | 2015-09-11 19:02:50 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-14 20:46:35 +0100 |
commit | 3006cb260004a7bd88cfd4ea3e2cbcac600347bc (patch) | |
tree | adc14ea17838be608ad38bdef13cf77c0e70b97b /meta/conf | |
parent | 75bad1b64bd485a50af69ed1f8663a0dadbb5f9e (diff) | |
download | poky-3006cb260004a7bd88cfd4ea3e2cbcac600347bc.tar.gz |
as-needed.inc: add babeltrace exception
The babeltrace command has plugins which it specifies in its link step
but on which (in the linker's view) it does not depend, so --as-needed
causes some of them to be omitted from the executable's dependencies.
This prevents babeltrace on OE-built systems from handling
streaming/live tracing sessions.
Babeltrace's makefiles already try to prevent this by using
--no-as-needed, but --as-needed gets placed afterward in the command
line, so it wins.
(From OE-Core rev: d3fc696bf1c0c5e9a0d238fb86e58771cfbe9cae)
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/distro/include/as-needed.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/distro/include/as-needed.inc b/meta/conf/distro/include/as-needed.inc index 9d2056e17a..4f249fd3e6 100644 --- a/meta/conf/distro/include/as-needed.inc +++ b/meta/conf/distro/include/as-needed.inc | |||
@@ -1,6 +1,7 @@ | |||
1 | 1 | ||
2 | ASNEEDED = "-Wl,--as-needed" | 2 | ASNEEDED = "-Wl,--as-needed" |
3 | 3 | ||
4 | ASNEEDED_pn-babeltrace = "" | ||
4 | ASNEEDED_pn-console-tools = "" | 5 | ASNEEDED_pn-console-tools = "" |
5 | ASNEEDED_pn-distcc = "" | 6 | ASNEEDED_pn-distcc = "" |
6 | ASNEEDED_pn-openobex = "" | 7 | ASNEEDED_pn-openobex = "" |