aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/assembly.js
diff options
context:
space:
mode:
authorMatt Godbolt <matt@godbolt.org>2021-05-27 23:25:37 -0500
committerMatt Godbolt <matt@godbolt.org>2021-05-27 23:25:37 -0500
commit5c5bc4dd50f4e278a723a8f8494f74148fdad8f1 (patch)
tree0e52091935f935533ca9e8041233d0305e5f22c7 /lib/compilers/assembly.js
parent4e36d206b4f9d63a8cf6aca4835d734a4a3beb72 (diff)
downloadcompiler-explorer-5c5bc4dd50f4e278a723a8f8494f74148fdad8f1.tar.gz
compiler-explorer-5c5bc4dd50f4e278a723a8f8494f74148fdad8f1.zip
Dont array push multiple times
Diffstat (limited to 'lib/compilers/assembly.js')
-rw-r--r--lib/compilers/assembly.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/compilers/assembly.js b/lib/compilers/assembly.js
index fe6e59439..40e0042bd 100644
--- a/lib/compilers/assembly.js
+++ b/lib/compilers/assembly.js
@@ -111,8 +111,7 @@ export class AssemblyCompiler extends BaseCompiler {
const options = ['-o', outputFilename];
if (inputArch === 'x86') {
- options.push('-m');
- options.push('elf_i386');
+ options.push('-m', 'elf_i386');
} else if (inputArch === 'x86_64') {
// default target
} else {