Skip to content

Commit bc59eee

Browse files
committed
Fix clang compiler detection on Windows
A previous commit[1] left a "debug" statement, which causes clang builds on Windows to fail always. [1] <b3d6414>
1 parent 27fbdc1 commit bc59eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

win32/build/confutils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3125,7 +3125,7 @@ function toolset_get_compiler_name(short)
31253125
var command = 'cmd /c ""' + PHP_CL + '" -v"';
31263126
var full = execute(command + '" 2>&1"');
31273127

3128-
ERROR(full.split(/\n/)[0].replace(/\s/g, ' '));
3128+
return full.split(/\n/)[0].replace(/\s/g, ' ');
31293129
}
31303130

31313131
WARNING("Unsupported toolset");

0 commit comments

Comments
 (0)