X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tools%2Flttng-gen-tp;h=c49e8a52355f44e7ded0abcce24acf3836e5ee3e;hb=f6df8626c40e58c39e83215a5bdbdf7a29038c35;hp=ed0c48fa549973f844e4001cb99adbc2b8325959;hpb=170423b056ecdef441820a54be350605e4dc8951;p=lttng-ust.git diff --git a/tools/lttng-gen-tp b/tools/lttng-gen-tp index ed0c48fa..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())