From: Cristiana Voicu Date: Thu, 31 Oct 2013 08:10:44 +0000 (+0200) Subject: Use cross compiler for doc examples X-Git-Tag: v0.9.0~132 X-Git-Url: https://git.lttng.org/?p=urcu.git;a=commitdiff_plain;h=3343c545bbc5154d42dd37cd3ae869ef97555e00 Use cross compiler for doc examples Signed-off-by: Cristiana Voicu Signed-off-by: Mathieu Desnoyers --- diff --git a/doc/examples/Makefile.examples.template b/doc/examples/Makefile.examples.template index e1a971e..4a0379a 100644 --- a/doc/examples/Makefile.examples.template +++ b/doc/examples/Makefile.examples.template @@ -11,7 +11,9 @@ # # This makefile is purposefully kept simple to support GNU and BSD make. +ifndef CC CC = gcc +endif CFLAGS = -g -O2 -Wall all: $(BINARY)