diff options
Diffstat (limited to 'lib/compilers/ada.ts')
-rw-r--r-- | lib/compilers/ada.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compilers/ada.ts b/lib/compilers/ada.ts index 45a1d1079..89f500f4b 100644 --- a/lib/compilers/ada.ts +++ b/lib/compilers/ada.ts @@ -95,7 +95,9 @@ export class AdaCompiler extends BaseCompiler { inputFilename, ); - if (!filters.binary) { + if (filters.binary) { + gnatmake_opts.push('-o', outputFilename); + } else { gnatmake_opts.push( '-S', // Generate ASM '-c', // Compile only @@ -110,8 +112,6 @@ export class AdaCompiler extends BaseCompiler { gnatmake_opts.push(opt); } } - } else { - gnatmake_opts.push('-o', outputFilename); } // Spread the options coming from outside (user, backend or config options) |