[lttng-dev] [LTTNG][LTTng-ust] "Out of system" building patches.

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Mon Aug 26 11:19:17 EDT 2013


* Jimmy Durand Wesolowski (jimmy.durand.wesolowski at gmail.com) wrote:
> 2013/8/26 Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
> 
> > Now I just have to figure out how to teach lttng-gen-tp about CPPFLAGS
> > :-/
> >
> 
> My patch is correcting this, and the new version does take your
> comment into account.

Actually, I just pushed a fix for this into master (I had to test all
this myself to understand what happens):

commit 9ec23f2e52b3b0bd8b80afbe2e8e8ae1ab222c6b
Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Date:   Mon Aug 26 11:14:56 2013 -0400

    Fix: doc/examples cross-build
    
    We need to pass automake's CPPFLAGS and LDFLAGS to examples. Add CFLAGS
    too for completeness.
    
    Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>

We still have issues with lttng-gen-tp though: I'm looking for a way to
change its Makefile so it adds "AM_CPPFLAGS" to the CFLAGS passed to the
compiler. Ideas ?

Thanks for pointing out this issue,

Mathieu

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list