lttng-gen-tp: document CFLAGS env. variable
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 18 Oct 2014 03:15:50 +0000 (23:15 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 18 Oct 2014 03:16:02 +0000 (23:16 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
contents/using-lttng/instrumenting/c-application/lttng-gen-tp.md

index 78f4dfa555fc9bc3b6457ac79ddf5e09e37fa19b..9c07a6e147f8c4b177b1d1ff806f3c9ffdba88c2 100644 (file)
@@ -23,5 +23,12 @@ lttng-gen-tp my-template.tp
 `my-template.c`, `my-template.o` and `my-template.h` will be created
 in the same directory.
 
+You may specify custom C flags passed to the compiler invoked by
+`lttng-gen-tp` using the `CFLAGS` environment variable:
+
+<pre class="term">
+CFLAGS=-I/custom/include/path lttng-gen-tp my-template.tp
+</pre>
+
 For more information on `lttng-gen-tp`, see
 <a href="/man/1/lttng-gen-tp" class="ext">its manpage</a>.
This page took 0.023515 seconds and 4 git commands to generate.