mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-11-30 19:44:33 -06:00
darwin works the same as linux here
This commit is contained in:
@@ -37,7 +37,7 @@ function compileCl(info, env) {
|
||||
const compile = new Compile(info, env);
|
||||
compile.asm = new asm.AsmParser(env.compilerProps);
|
||||
info.supportsFiltersInBinary = true;
|
||||
if (process.platform === "linux") {
|
||||
if ((process.platform === "linux") || (process.platform === "darwin")) {
|
||||
const origExec = compile.exec;
|
||||
compile.exec = function (command, args, options) {
|
||||
return origExec(command, args, options);
|
||||
|
||||
@@ -30,7 +30,7 @@ function compileCl(info, env) {
|
||||
var compile = new Compile(info, env);
|
||||
compile.asm = new asm.AsmParser(env.compilerProps);
|
||||
info.supportsFiltersInBinary = true;
|
||||
if (process.platform == "linux") {
|
||||
if ((process.platform === "linux") || (process.platform === "darwin")) {
|
||||
var wine = env.gccProps("wine");
|
||||
var origExec = compile.exec;
|
||||
compile.exec = function (command, args, options) {
|
||||
|
||||
Reference in New Issue
Block a user