diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-11 18:07:06 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-11 18:07:06 -0800 |
commit | 9f74e557418e58ecdac3c9fc9c82c733bab1f308 (patch) | |
tree | d797471a491c32f549b3343e5244eeb112f6e4c7 | |
parent | c91b61636ddd2f13e85d27ea137c2f67c78badca (diff) |
fix for nativize tool
-rwxr-xr-x | tools/nativize_llvm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/nativize_llvm.py b/tools/nativize_llvm.py index 413c8d14..b327bdfc 100755 --- a/tools/nativize_llvm.py +++ b/tools/nativize_llvm.py @@ -23,7 +23,7 @@ libs = sys.argv[2:] # e.g.: dl for dlopen/dlclose, util for openpty/forkpty print 'bc => clean bc' Popen([LLVM_OPT, filename, '-strip-debug', '-o', filename + '.clean.bc']).communicate()[0] print 'bc => s' -for params in [[], ['-march=x86-64']]: # try x86, then x86-64 FIXME +for params in [['-march=x86'], ['-march=x86-64']]: # try x86, then x86-64 FIXME print 'params', params Popen([LLVM_COMPILER] + params + [filename + '.clean.bc', '-o', filename + '.s']).communicate()[0] print 's => o' |