diff --git a/static/panes/compiler.js b/static/panes/compiler.js index 21e252ad1..85754cf64 100644 --- a/static/panes/compiler.js +++ b/static/panes/compiler.js @@ -1950,6 +1950,13 @@ Compiler.prototype.checkForUnwiseArguments = function (optionsArray) { var are = unwiseOptions.length === 1 ? ' is ' : ' are '; var msg = options + names + are + 'not recommended, as behaviour might change based on server hardware.'; + if (_.contains(optionsArray, '-flto')) { + this.alertSystem.notify('Option -flto is being used without Compile to Binary.', { + group: 'unwiseOption', + collapseSimilar: true, + }); + } + if (unwiseOptions.length > 0) { this.alertSystem.notify(msg, {group: 'unwiseOption', collapseSimilar: true}); }