diff options
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) |