projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pass the CC variable to the example Makefiles
[lttng-ust.git]
/
doc
/
examples
/
demo
/
Makefile
diff --git
a/doc/examples/demo/Makefile
b/doc/examples/demo/Makefile
index 27e4146012ab02a40051f80b858846e6529a611d..9c847b13a84d6a21cd270e03224c274ac789c86c 100644
(file)
--- a/
doc/examples/demo/Makefile
+++ b/
doc/examples/demo/Makefile
@@
-14,7
+14,10
@@
#
# This makefile is purposefully kept simple to support GNU and BSD make.
#
# This makefile is purposefully kept simple to support GNU and BSD make.
-CC = gcc
+ifdef AM_CC
+ CC = $(AM_CC)
+endif
+
LIBS = -ldl # On Linux
#LIBS = -lc # On BSD
LOCAL_CPPFLAGS += -I.
LIBS = -ldl # On Linux
#LIBS = -lc # On BSD
LOCAL_CPPFLAGS += -I.
This page took
0.024404 seconds
and
4
git commands to generate.