diff options
author | Matt Godbolt <matt@godbolt.org> | 2021-05-27 23:25:37 -0500 |
---|---|---|
committer | Matt Godbolt <matt@godbolt.org> | 2021-05-27 23:25:37 -0500 |
commit | 5c5bc4dd50f4e278a723a8f8494f74148fdad8f1 (patch) | |
tree | 0e52091935f935533ca9e8041233d0305e5f22c7 /lib/compilers/assembly.js | |
parent | 4e36d206b4f9d63a8cf6aca4835d734a4a3beb72 (diff) | |
download | compiler-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.js | 3 |
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 { |