X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tools%2Flttng-gen-tp;fp=tools%2Flttng-gen-tp;h=a62107f7b2006fcd876901f85aed5df2d7d9cb8f;hb=d619cda8578e0d27ce0de14b09c4dc8e8056d534;hp=84f4297e7b37243d8f079642db5f8702ace67f51;hpb=e2a195a6849f8d95a6583387b8ffbd8db8b95f9c;p=lttng-ust.git diff --git a/tools/lttng-gen-tp b/tools/lttng-gen-tp index 84f4297e..a62107f7 100755 --- a/tools/lttng-gen-tp +++ b/tools/lttng-gen-tp @@ -138,12 +138,8 @@ class ObjFile: cflags = " " + os.environ['CFLAGS'] else: cflags = "" - if 'LDFLAGS' in os.environ: - ldflags = " " + os.environ['LDFLAGS'] - else: - ldflags = "" - command = cc + " -c" + cppflags + cflags + ldflags + " -I. -llttng-ust" + " -o " + self.outputFilename + " " + cFilename + command = cc + " -c" + cppflags + cflags + " -I. -o " + self.outputFilename + " " + cFilename if verbose: print("Compile command: " + command) subprocess.call(command.split())