aboutsummaryrefslogtreecommitdiff
path: root/crowbar_reference_compiler/__init__.py
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-12-23 00:46:52 -0700
committerMelody Horn <melody@boringcactus.com>2020-12-23 00:46:52 -0700
commitc7de22f575607a7966b6b592dbf81bd3f867a2e4 (patch)
tree2b554674bcbdfd808681ce2e5b4395148c78a865 /crowbar_reference_compiler/__init__.py
parentbd933eeef043e0bc5e3ddd6557c9884593b59d3b (diff)
downloadreference-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__.py2
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)