diff options
author | Melody Horn <melody@boringcactus.com> | 2020-12-23 00:46:52 -0700 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2020-12-23 00:46:52 -0700 |
commit | c7de22f575607a7966b6b592dbf81bd3f867a2e4 (patch) | |
tree | 2b554674bcbdfd808681ce2e5b4395148c78a865 /crowbar_reference_compiler/__init__.py | |
parent | bd933eeef043e0bc5e3ddd6557c9884593b59d3b (diff) | |
download | reference-compiler-c7de22f575607a7966b6b592dbf81bd3f867a2e4.tar.gz reference-compiler-c7de22f575607a7966b6b592dbf81bd3f867a2e4.zip |
implement a bunch more stuff
Diffstat (limited to 'crowbar_reference_compiler/__init__.py')
-rw-r--r-- | crowbar_reference_compiler/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crowbar_reference_compiler/__init__.py b/crowbar_reference_compiler/__init__.py index 1410bf7..46d0115 100644 --- a/crowbar_reference_compiler/__init__.py +++ b/crowbar_reference_compiler/__init__.py @@ -62,7 +62,7 @@ def main(): if args.out is None: args.out = args.input.replace('.cro', '.o') extra_gcc_flags.append('-c') - gcc_result = subprocess.run(['gcc', '-x', 'assembler', '-o', args.out, '-'], input=asm, text=True) + gcc_result = subprocess.run(['gcc', '-x', 'assembler', '-o', args.out, *extra_gcc_flags, '-'], input=asm, text=True) sys.exit(gcc_result.returncode) |