OSDN Git Service

Subzero: Add a missing absolute path to llvm-mc command.
authorJim Stichnoth <stichnot@chromium.org>
Fri, 30 Oct 2015 21:41:43 +0000 (14:41 -0700)
committerJim Stichnoth <stichnot@chromium.org>
Fri, 30 Oct 2015 21:41:43 +0000 (14:41 -0700)
Somehow missed this in https://codereview.chromium.org/1419173006 .

BUG= none
R=kschimpf@google.com

Review URL: https://codereview.chromium.org/1410813004 .

pydir/szbuild.py

index f158fa8..6844038 100755 (executable)
@@ -239,8 +239,9 @@ def ProcessPexe(args, pexe, exe):
             }[args.target]
 
             shellcmd((
-                'llvm-mc -triple={triple} -filetype=obj -o {obj} {asm}'
-                ).format(asm=asm_sz, obj=obj_sz, triple=triple),
+                '{base}/llvm-mc -triple={triple} -filetype=obj -o {obj} {asm}'
+                ).format(base=path_addition, asm=asm_sz, obj=obj_sz,
+                         triple=triple),
                      echo=args.verbose)
         if not args.sandbox:
             shellcmd((