From: Cristiana Voicu Date: Thu, 31 Oct 2013 08:10:44 +0000 (+0200) Subject: Use cross compiler for doc examples X-Git-Tag: v0.8.1~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c7d692ea5d7a4fed28e83257481c5ac5413e3210;p=userspace-rcu.git 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)