Use cross compiler for doc examples
[userspace-rcu.git] / doc / examples / Makefile.examples.template
index e1a971e391423d481207f6bd99387ab51e37b184..4a0379ad88e82bbf3165e12a8c030743f45c0feb 100644 (file)
@@ -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)
This page took 0.022369 seconds and 4 git commands to generate.