diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2021-12-20 20:33:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-20 20:33:42 -0700 |
| commit | 48a06f2fa5bf1ece94095980f1fef4f306accbeb (patch) | |
| tree | 3cfe6446bd41c885c0f92a158500702044c8157d /tools/asm_processor | |
| parent | cdb3ca63aa6170fa82c2e708dde6380f2204d067 (diff) | |
Add MSYS2 MinGW x64 Support (#108)
* Added MSYS2 MinGW x64 Support
* Updated recomp
* Updated tools
Diffstat (limited to 'tools/asm_processor')
| -rw-r--r-- | tools/asm_processor/build.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/asm_processor/build.py b/tools/asm_processor/build.py index 04a93e4cd..eb16c7bc1 100644 --- a/tools/asm_processor/build.py +++ b/tools/asm_processor/build.py @@ -29,7 +29,8 @@ del compile_args[out_ind] in_dir = os.path.split(os.path.realpath(in_file))[0] opt_flags = [x for x in compile_args if x in ['-g', '-O2', '-framepointer']] -preprocessed_file = tempfile.NamedTemporaryFile(prefix='preprocessed', suffix='.c') + +preprocessed_file = tempfile.NamedTemporaryFile(prefix='preprocessed', suffix='.c', delete=False) subprocess.check_call(asm_processor + opt_flags + [in_file], stdout=preprocessed_file) subprocess.check_call(compiler + compile_args + ['-I', in_dir, '-o', out_file, preprocessed_file.name]) |
