aboutsummaryrefslogtreecommitdiff
path: root/tools/nativize_llvm.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-01-25 15:49:31 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-01-25 15:49:31 -0800
commit8d4226c06c843225f7ba7ff896fd21d16c614d06 (patch)
treecdf15e8609935039abebcc249bf9186ae2a54314 /tools/nativize_llvm.py
parent19a0d39383dd491f174f7d98623b7aec2547e889 (diff)
improve nativize_llvm
Diffstat (limited to 'tools/nativize_llvm.py')
-rw-r--r--tools/nativize_llvm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/nativize_llvm.py b/tools/nativize_llvm.py
index a053b56c..de78dce2 100644
--- a/tools/nativize_llvm.py
+++ b/tools/nativize_llvm.py
@@ -27,5 +27,5 @@ Popen([LLVM_COMPILER, filename + '.clean.bc', '-o=' + filename + '.s']).communic
print 's => o'
Popen(['as', filename + '.s', '-o', filename + '.o']).communicate()[0]
print 'o => runnable'
-Popen(['g++', filename + '.o', '-o', filename + '.run'] + ['-l' + lib for lib in libs]).communicate()[0]
+Popen(['g++', path_from_root('system', 'lib', 'debugging.cpp'), filename + '.o', '-o', filename + '.run'] + ['-l' + lib for lib in libs]).communicate()[0]