Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/tool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ impl Tool {
};
if stdout.contains("clang") {
ToolFamily::Clang
} else if stdout.contains("GCC") {
} else if stdout.contains("GCC")
|| stdout.contains("gcc")
|| stdout.contains("Free Software Foundation")
{
ToolFamily::Gnu
} else {
// --version doesn't include clang for GCC
Expand Down