diff options
author | Partouf <partouf@gmail.com> | 2021-03-04 22:08:42 +0100 |
---|---|---|
committer | Partouf <partouf@gmail.com> | 2021-03-04 22:08:42 +0100 |
commit | 56e64c1fafef90b7e279463f2cd2f17dcee901dd (patch) | |
tree | 2f6901257b45bd8d7b86f365beea95ca12b96f7c /lib/compilers/win32.js | |
parent | 323480d77d35becd21c8b99710343f56bbe36540 (diff) | |
download | compiler-explorer-56e64c1fafef90b7e279463f2cd2f17dcee901dd.tar.gz compiler-explorer-56e64c1fafef90b7e279463f2cd2f17dcee901dd.zip |
fix compiler.options splitting
Diffstat (limited to 'lib/compilers/win32.js')
-rw-r--r-- | lib/compilers/win32.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compilers/win32.js b/lib/compilers/win32.js index 91f4c4b81..220fcf952 100644 --- a/lib/compilers/win32.js +++ b/lib/compilers/win32.js @@ -30,6 +30,7 @@ import _ from 'underscore'; import { BaseCompiler } from '../base-compiler'; import { MapFileReaderVS } from '../map-file-vs'; import { PELabelReconstructor } from '../pe32-support'; +import * as utils from '../utils'; export class Win32Compiler extends BaseCompiler { static get key() { return 'win32'; } @@ -97,7 +98,7 @@ export class Win32Compiler extends BaseCompiler { backendOptions = backendOptions || {}; if (this.compiler.options) { - options = options.concat(this.compiler.options.split(' ')); + options = options.concat(utils.splitArguments(this.compiler.options)); } if (this.compiler.supportsOptOutput && backendOptions.produceOptInfo) { |