[lttng-dev] [PATCH 2/2] Add the CFLAGS for an "out of system" building of the gen-tp example files.

Jimmy Durand Wesolowski jimmy.durand.wesolowski at gmail.com
Thu Aug 22 10:42:50 EDT 2013


2013/8/22 Mathieu Desnoyers <mathieu.desnoyers at efficios.com>

> * Jimmy Durand Wesolowski (jimmy.durand.wesolowski at gmail.com) wrote:
> > 2013/8/22 Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
> >
> > > * Jimmy Durand Wesolowski (jimmy.durand.wesolowski at gmail.com) wrote:
> > > We could keep the CFLAGS/LDFLAGS/CPPFLAGS use as we have currently in
> > > the tree, but also modify doc/examples/Makefile.am so it passes extra
> > > flags (the AM_CFLAGS/AM_LDFLAGS/AM_CPPFLAGS) to the subdirectories when
> > > invoking their respective makefile.
> > >
> > > Therefore, it would not add automake-specific stuff into a Makefile
> that
> > > is meant to be installed in /usr/share/doc.
> > >
> > Oh, OK.
> > Do you want me to add an
> > export CFLAGS
> > export CPPFLAGS
> > export CC
> > in the doc/examples/Makefile.am ?
> > Or add it on the make calling loop if you prefer avoiding exports ?
>
> Ideally in the make calling loop. I think I vaguely remember that export
> were not always supported in automake.
>
OK, I will try to do that this way.


Thanks,
>
Thank you for your advice.
-- 
Jimmy Durand Wesolowski
OpenWide R&D engineer
OneAccess
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20130822/134bd53f/attachment.html>


More information about the lttng-dev mailing list