From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [lttng-dev] [LTTNG][LTTng-ust] "Out of system" building patches.
Date: Mon, 26 Aug 2013 11:27:59 -0400 [thread overview]
Message-ID: <20130826152759.GA17057@Krystal> (raw)
In-Reply-To: <20130826151917.GA16924@Krystal>
* Mathieu Desnoyers (mathieu.desnoyers at efficios.com) wrote:
> * 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 ?
I got it to work. See those commits in master:
commit 256175cffb00b15543bd49a4268e6c528bd51fce
Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Date: Mon Aug 26 11:26:09 2013 -0400
doc/examples/gen-tp: pass automake CPPFLAGS/CFLAGS/LDFLAGS
Fix cross-build.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
commit 170423b056ecdef441820a54be350605e4dc8951
Author: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Date: Mon Aug 26 11:24:26 2013 -0400
tools/lttng-gen-tp: honor CPPFLAGS and LDFLAGS
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
Thanks,
Mathieu
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
next prev parent reply other threads:[~2013-08-26 15:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1377160051-12449-1-git-send-email-jimmy.durand.wesolowski@gmail.com>
[not found] ` <20130822125523.GB26852@Krystal>
[not found] ` <CAMaFG-3HCsKngNE1cNv9PfCFuhnHwsON=T-q084ZjD+1Aj2Zqg@mail.gmail.com>
[not found] ` <20130824175909.GA12409@Krystal>
2013-08-24 19:42 ` Jimmy Durand
2013-08-26 7:43 ` Jimmy Durand Wesolowski
2013-08-26 14:24 ` Thomas Petazzoni
2013-08-26 15:11 ` Mathieu Desnoyers
2013-08-26 15:14 ` Jimmy Durand Wesolowski
2013-08-26 15:19 ` Mathieu Desnoyers
2013-08-26 15:27 ` Mathieu Desnoyers [this message]
2013-08-26 15:53 ` Jimmy Durand Wesolowski
2013-08-26 16:00 ` Mathieu Desnoyers
2013-08-27 15:02 ` Jimmy Durand Wesolowski
2013-08-26 15:13 ` Jimmy Durand Wesolowski
2013-08-26 14:22 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130826152759.GA17057@Krystal \
--to=mathieu.desnoyers@efficios.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox