Fix: Use $AM_CC when it is defined instead of gcc in demo-tracef
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 8 Apr 2014 18:43:32 +0000 (14:43 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 8 Apr 2014 18:47:58 +0000 (14:47 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
doc/examples/demo-tracef/Makefile

index 644acdce918795fd272904ac76b7fa9d8fac8579..40e9a581e90df7657881590dab99270704be75ea 100644 (file)
 #
 # 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.
This page took 0.0276 seconds and 4 git commands to generate.