projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: Use $AM_CC when it is defined instead of gcc in demo-tracef
[lttng-ust.git]
/
doc
/
examples
/
demo-tracef
/
Makefile
diff --git
a/doc/examples/demo-tracef/Makefile
b/doc/examples/demo-tracef/Makefile
index 644acdce918795fd272904ac76b7fa9d8fac8579..40e9a581e90df7657881590dab99270704be75ea 100644
(file)
--- 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.
This page took
0.0243 seconds
and
4
git commands to generate.