Index: pydir/run-llvm2ice.py |
diff --git a/pydir/run-llvm2ice.py b/pydir/run-llvm2ice.py |
index 583d7f8eb72d26c32041d3f52942a36462f6bc5a..382467349861e675895f9efba867d06e13d7831a 100755 |
--- a/pydir/run-llvm2ice.py |
+++ b/pydir/run-llvm2ice.py |
@@ -74,8 +74,10 @@ def main(): |
cmd += ['--bitcode-format=pnacl'] |
if not args.no_local_syms: |
cmd += ['--allow-local-symbol-tables'] |
- if not (args.llvm or args.llvm_source): |
- cmd += ['--build-on-read'] |
+ if args.llvm or args.llvm_source: |
+ cmd += ['--build-on-read=0'] |
+ else: |
+ cmd += ['--build-on-read=1'] |
if args.args: |
cmd += args.args |
if args.llvm_source: |