Cleanup gen-tp: add quotes around AM_CC
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 14 Jan 2014 15:00:08 +0000 (10:00 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 14 Jan 2014 15:00:48 +0000 (10:00 -0500)
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 <mathieu.desnoyers@efficios.com>
doc/examples/gen-tp/Makefile

index 0fa757c11640fb651676bf4324e9d2f031704445..5c2a78cdb5619b1114f794579dfd5e0e02b8999e 100644 (file)
@@ -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
This page took 0.025453 seconds and 4 git commands to generate.