X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fexamples%2FMakefile.examples.template;h=6dd2baca623174da315f8b9d2a5b4064e302323a;hb=6893800a4d1cc14dff0395ddcd660a5138db183d;hp=4a0379ad88e82bbf3165e12a8c030743f45c0feb;hpb=3343c545bbc5154d42dd37cd3ae869ef97555e00;p=urcu.git diff --git a/doc/examples/Makefile.examples.template b/doc/examples/Makefile.examples.template index 4a0379a..6dd2bac 100644 --- a/doc/examples/Makefile.examples.template +++ b/doc/examples/Makefile.examples.template @@ -11,8 +11,8 @@ # # This makefile is purposefully kept simple to support GNU and BSD make. -ifndef CC -CC = gcc +ifdef AM_CC +CC = $(AM_CC) endif CFLAGS = -g -O2 -Wall