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.4.0-rc3~2 X-Git-Url: https://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=eadbff066f0dab5d8396a038d9bb1f2e211a1feb 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