Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] lttng-tools: Fix compilation
@ 2013-02-04 13:12 Stephan Hoffmann
  2013-02-04 14:49 ` Samuel Martin
  0 siblings, 1 reply; 3+ messages in thread
From: Stephan Hoffmann @ 2013-02-04 13:12 UTC (permalink / raw)
  To: buildroot

Compiling lttng-tools fails when lttng-libust is enabled bacause of a missing
-lurcu-bp in the linker command line, at least for linaro 2012.12 toolchain.

Signed-off-by: Stephan Hoffmann <sho@relinux.de>
---
 package/lttng-tools/lttng-tools.mk |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/package/lttng-tools/lttng-tools.mk b/package/lttng-tools/lttng-tools.mk
index 5be3abb..288e351 100644
--- a/package/lttng-tools/lttng-tools.mk
+++ b/package/lttng-tools/lttng-tools.mk
@@ -21,6 +21,8 @@ LTTNG_AUTORECONF = YES
 ifeq ($(BR2_PACKAGE_LTTNG_LIBUST),y)
 LTTNG_TOOLS_CONF_OPT += --enable-lttng-ust
 LTTNG_TOOLS_DEPENDENCIES += lttng-libust
+# Build fails without this, at least with Linuaro 2012.12 toolchain
+LTTNG_TOOLS_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -lurcu-bp"
 else
 LTTNG_TOOLS_CONF_OPT += --disable-lttng-ust
 endif
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-04 15:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-04 13:12 [Buildroot] [PATCH] lttng-tools: Fix compilation Stephan Hoffmann
2013-02-04 14:49 ` Samuel Martin
2013-02-04 15:58   ` Stephan Hoffmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox