From 18e90244d305faeb5560c02d6f0b9e848830ecc7 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 28 Jan 2018 07:09:44 +0100 Subject: .cc files are c++ files, not c --- backend/ninja/Ninja.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/ninja') diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp index 6104d52..9714f1d 100644 --- a/backend/ninja/Ninja.cpp +++ b/backend/ninja/Ninja.cpp @@ -640,7 +640,7 @@ namespace backend for(const string &sourceFile : sourceFiles) { SourceFileLanguage sourceFileLanguage = SourceFileLanguage::CPP; - if(endsWith(sourceFile, ".c") || endsWith(sourceFile, ".cc")) + if(endsWith(sourceFile, ".c")) sourceFileLanguage = SourceFileLanguage::C; const char *buildTarget; -- cgit v1.2.3