Signed-off-by: Jérémie Galarneau <[email protected]>
---
 doc/examples/demo-tracef/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/doc/examples/demo-tracef/Makefile
b/doc/examples/demo-tracef/Makefile
index 644acdc..40e9a58 100644
--- a/doc/examples/demo-tracef/Makefile
+++ b/doc/examples/demo-tracef/Makefile
@@ -15,7 +15,10 @@
 #
 # This makefile is purposefully kept simple to support GNU and BSD make.

-CC = gcc
+ifdef AM_CC
+       CC = $(AM_CC)
+endif
+
 LIBS = -ldl -llttng-ust        # On Linux
 #LIBS = -lc    # On BSD
 LOCAL_CPPFLAGS += -I.
--
1.9.1

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to