diff options
Diffstat (limited to 'lib/compilers/golang.js')
-rw-r--r-- | lib/compilers/golang.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/compilers/golang.js b/lib/compilers/golang.js index 9469e489c..ded9bf0a9 100644 --- a/lib/compilers/golang.js +++ b/lib/compilers/golang.js @@ -59,6 +59,10 @@ function compilenewgol(info, env) { }; compiler.optionsForFilter = function (filters, outputFilename, userOptions) { + // If we're dealing with an older version... + if (this.compiler.id === '6g141') { + return ['tool', '6g', '-g', '-o', outputFilename, '-S']; + } return ['tool', 'compile', '-o', outputFilename, '-S']; }; |