Index: crosstest/crosstest.py |
diff --git a/crosstest/crosstest.py b/crosstest/crosstest.py |
index be6c54ca51da08fe7fceef8cf5f8ec4cbd8e07f2..c8e944253ee50d4b02e553e10e178aff3bd2d742 100755 |
--- a/crosstest/crosstest.py |
+++ b/crosstest/crosstest.py |
@@ -130,6 +130,7 @@ if __name__ == '__main__': |
objs.append(bitcode) |
linker = 'clang' if os.path.splitext(args.driver)[1] == '.c' else 'clang++' |
- shellcmd([os.path.join(llvm_bin_path, linker), '-g', '-m32', args.driver] + |
- objs + |
+ # TODO: Remove -mstackrealign after Subzero supports stack alignment. |
+ shellcmd([os.path.join(llvm_bin_path, linker), '-g', '-m32', |
+ '-mstackrealign', args.driver] + objs + |
['-lm', '-lpthread', '-o', os.path.join(args.dir, args.output)]) |