From: Mathieu Desnoyers Date: Fri, 15 Nov 2013 19:52:41 +0000 (-0500) Subject: Fix cleanup: all spaces before flags X-Git-Tag: v2.4.0-rc2~23 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=aa4e204a59f9fd4fc94f2e2b3efa9f16ca86ac5a;p=lttng-ust.git Fix cleanup: all spaces before flags Signed-off-by: Mathieu Desnoyers --- diff --git a/tools/lttng-gen-tp b/tools/lttng-gen-tp index 0f6f0b58..c49e8a52 100755 --- a/tools/lttng-gen-tp +++ b/tools/lttng-gen-tp @@ -131,19 +131,19 @@ class ObjFile: if cc == "": raise RuntimeError("No C Compiler detected") if 'CPPFLAGS' in os.environ: - cppflags = os.environ['CPPFLAGS'] + " " + cppflags = " " + os.environ['CPPFLAGS'] else: cppflags = "" if 'CFLAGS' in os.environ: - cflags = os.environ['CFLAGS'] + " " + cflags = " " + os.environ['CFLAGS'] else: cflags = "" if 'LDFLAGS' in os.environ: - ldflags = os.environ['LDFLAGS'] + " " + ldflags = " " + os.environ['LDFLAGS'] else: ldflags = "" - command = cc + " -c " + cppflags + cflags + ldflags + " -I. -llttng-ust" + " -o " + self.outputFilename + " " + cFilename + command = cc + " -c" + cppflags + cflags + ldflags + " -I. -llttng-ust" + " -o " + self.outputFilename + " " + cFilename if verbose: print("Compile command: " + command) subprocess.call(command.split())