]> code.ossystems Code Review - openembedded-core.git/commit
as-needed.inc: add babeltrace exception
authorNathan Lynch <nathan_lynch@mentor.com>
Sat, 12 Sep 2015 00:02:50 +0000 (19:02 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Sep 2015 22:01:54 +0000 (23:01 +0100)
commitd3fc696bf1c0c5e9a0d238fb86e58771cfbe9cae
tree638808dd0639143b2b748cceba157df4e50daead
parent2c8c3d9c4b65d2a5c7976d530138ebcaac2b1447
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.

Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/as-needed.inc