lttng-gen-tp: no linker flags when compiling .o
[lttng-ust.git] / tools / lttng-gen-tp
index 84f4297e7b37243d8f079642db5f8702ace67f51..a62107f7b2006fcd876901f85aed5df2d7d9cb8f 100755 (executable)
@@ -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())
This page took 0.023563 seconds and 4 git commands to generate.