summaryrefslogtreecommitdiff
path: root/meta/conf/distro
diff options
context:
space:
mode:
authorNathan Lynch <nathan_lynch@mentor.com>2015-09-11 19:02:50 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-12 23:01:54 +0100
commitd3fc696bf1c0c5e9a0d238fb86e58771cfbe9cae (patch)
tree638808dd0639143b2b748cceba157df4e50daead /meta/conf/distro
parent2c8c3d9c4b65d2a5c7976d530138ebcaac2b1447 (diff)
downloadopenembedded-core-d3fc696bf1c0c5e9a0d238fb86e58771cfbe9cae.tar.gz
openembedded-core-d3fc696bf1c0c5e9a0d238fb86e58771cfbe9cae.tar.bz2
openembedded-core-d3fc696bf1c0c5e9a0d238fb86e58771cfbe9cae.zip
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>
Diffstat (limited to 'meta/conf/distro')
-rw-r--r--meta/conf/distro/include/as-needed.inc1
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 @@
ASNEEDED = "-Wl,--as-needed"
+ASNEEDED_pn-babeltrace = ""
ASNEEDED_pn-console-tools = ""
ASNEEDED_pn-distcc = ""
ASNEEDED_pn-openobex = ""