diff options
author | Matt Godbolt <matt@godbolt.org> | 2019-03-21 20:31:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-21 20:31:42 -0500 |
commit | b87322568ed7f73a8583cdce707f68f07a0995dd (patch) | |
tree | 387ffc9ba2487bea8c6ab9eb7c40d03cd1e74dc6 /lib/compilers/wine-vc.js | |
parent | b8815fbdb20261634919d976310c13e945249250 (diff) | |
parent | a47efe6d65f86024f46be5ef96139bb2f67dca73 (diff) | |
download | compiler-explorer-b87322568ed7f73a8583cdce707f68f07a0995dd.tar.gz compiler-explorer-b87322568ed7f73a8583cdce707f68f07a0995dd.zip |
Merge branch 'master' into llvm
Diffstat (limited to 'lib/compilers/wine-vc.js')
-rw-r--r-- | lib/compilers/wine-vc.js | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/compilers/wine-vc.js b/lib/compilers/wine-vc.js index 6cd2a282a..640f27427 100644 --- a/lib/compilers/wine-vc.js +++ b/lib/compilers/wine-vc.js @@ -52,8 +52,18 @@ class WineVcCompiler extends BaseCompiler { return 'Z:' + fn; } + runCompiler(compiler, options, inputFilename, execOptions) { + if (!execOptions) { + execOptions = this.getDefaultExecOptions(); + } + + execOptions.customCwd = path.dirname(inputFilename).substr(2); + + return super.runCompiler(compiler, options, inputFilename, execOptions); + } + getArgumentParser() { - return argumentParsers.Base; + return argumentParsers.VC; } getExecutableFilename(dirPath, outputFilebase) { |