aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers
diff options
context:
space:
mode:
authorMauro Baladés <mauro.balades@tutanota.com>2023-11-15 00:14:48 +0100
committerGitHub <noreply@github.com>2023-11-14 17:14:48 -0600
commitcaa8b335ba547dbd25e6978292d9abf8f6b4797b (patch)
treee1b40ba61a5e37702abc252eaf4a1866785ff6ee /lib/compilers
parent322a9ca8ef69823233b3cd47fed1006627606e98 (diff)
downloadcompiler-explorer-caa8b335ba547dbd25e6978292d9abf8f6b4797b.tar.gz
compiler-explorer-caa8b335ba547dbd25e6978292d9abf8f6b4797b.zip
Fixed CLI args for snowball (#5753)gh-9575
Diffstat (limited to 'lib/compilers')
-rw-r--r--lib/compilers/snowball.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compilers/snowball.ts b/lib/compilers/snowball.ts
index 613e69276..e7321f015 100644
--- a/lib/compilers/snowball.ts
+++ b/lib/compilers/snowball.ts
@@ -66,13 +66,13 @@ export class SnowballCompiler extends BaseCompiler {
staticLibLinks: string[],
) {
return options.concat(userOptions, libIncludes, libOptions, libPaths, libLinks, staticLibLinks, [
- '-f',
+ '--file',
this.filename(inputFilename),
]);
}
override optionsForFilter(filters: ParseFiltersAndOutputOptions, outputFilename: string, userOptions?: string[]) {
- let options = ['build', '--silent', '-o', this.filename(outputFilename)];
+ let options = ['build', '--silent', '--output', this.filename(outputFilename)];
const userRequestedEmit = _.any(unwrap(userOptions), opt => opt.includes('--emit'));
if (filters.binary) {