From 3343c545bbc5154d42dd37cd3ae869ef97555e00 Mon Sep 17 00:00:00 2001 From: Cristiana Voicu Date: Thu, 31 Oct 2013 10:10:44 +0200 Subject: [PATCH 1/1] Use cross compiler for doc examples Signed-off-by: Cristiana Voicu Signed-off-by: Mathieu Desnoyers --- doc/examples/Makefile.examples.template | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.34.1