From: Mathieu Desnoyers Date: Tue, 14 Jan 2014 15:00:08 +0000 (-0500) Subject: Cleanup gen-tp: add quotes around AM_CC X-Git-Tag: v2.3.2~12 X-Git-Url: http://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=81baec05674a0f74e0f8acd3c659befeb2d8439b Cleanup gen-tp: add quotes around AM_CC Would deal with spaces in the env. var. if there are any. It does not seem to be important in practice (currently), because automake seems to fail on CC including spaces at configure time. Signed-off-by: Mathieu Desnoyers --- diff --git a/doc/examples/gen-tp/Makefile b/doc/examples/gen-tp/Makefile index 0fa757c1..5c2a78cd 100644 --- a/doc/examples/gen-tp/Makefile +++ b/doc/examples/gen-tp/Makefile @@ -45,7 +45,7 @@ sample.o: sample.c sample_tracepoint.h CPPFLAGS="$(CPPFLAGS) $(AM_CPPFLAGS)" \ CFLAGS="$(CFLAGS) $(AM_CFLAGS)" \ LDFLAGS="$(LDFLAGS) $(AM_LDFLAGS)" \ - CC=$(CC) \ + CC="$(CC)" \ $(LTTNG_GEN_TP_PATH)lttng-gen-tp -o $@ $< # The following rule can be used to generate all files instead of having one