Index: pydir/build-runtime.py |
diff --git a/pydir/build-runtime.py b/pydir/build-runtime.py |
index e5ed1b2f7939912b340117f4d3fdcff5fc744932..63ebc805af2a1cbdd652df46090dd49e3bee4086 100755 |
--- a/pydir/build-runtime.py |
+++ b/pydir/build-runtime.py |
@@ -16,6 +16,8 @@ def Translate(ll_files, extra_args, obj, verbose): |
shellcmd(['cat'] + ll_files + ['|', |
'pnacl-llc', |
'-externalize', |
+ '-function-sections', |
+ '-O2', |
'-filetype=obj', |
'-bitcode-format=llvm', |
'-o', obj |