aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend/ninja/Ninja.cpp2
1 files changed, 1 insertions, 1 deletions
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;