Fix: .split() the CC environment variable in lttng-gen-tp
[lttng-ust.git] / tools / lttng-gen-tp
index a3a01f27c033101e87f4a879c032fcab095bd8e7..b62cd9907618207de72604e947a3b0ab11df9558 100755 (executable)
@@ -94,7 +94,7 @@ class ObjFile:
         if 'CC' in os.environ:
             cc = os.environ['CC']
             try:
-                subprocess.call(cc,
+                subprocess.call(cc.split(),
                                 stdout=subprocess.PIPE,
                                 stderr=subprocess.PIPE)
             except OSError as msg:
This page took 0.023788 seconds and 4 git commands to generate.