From 9469b9b27bc826e71573195d55fd82b7e97ffb38 Mon Sep 17 00:00:00 2001
From: Gabriel Dos Reis <gdr@integrable-solutions.net>
Date: Wed, 27 Mar 2013 13:20:12 +0000
Subject: [PATCH] Makefile.in (.SUFFIXES): Add .cc.

	* Makefile.in (.SUFFIXES): Add .cc.
	(.c.o): Apply same recipe for implicit rule .cc.o.

From-SVN: r197162
---
 gcc/ChangeLog   | 5 +++++
 gcc/Makefile.in | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b90cc6738ca5..0039342341e2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-27  Gabriel Dos Reis  <gdr@integrable-solutions.net>
+
+	* Makefile.in (.SUFFIXES): Add .cc.
+	(.c.o): Apply same recipe for implicit rule .cc.o.
+
 2013-03-27  Richard Biener  <rguenther@suse.de>
 
 	PR tree-optimization/37021
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 54ea04f644a1..b60e1f84fec8 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -48,7 +48,7 @@ MAKEOVERRIDES =
 # This must come before the language makefile fragments to allow them to
 # add suffixes and rules of their own.
 .SUFFIXES:
-.SUFFIXES: .c .o .po .pox .gmo
+.SUFFIXES: .c .cc .o .po .pox .gmo
 
 # -------------------------------
 # Standard autoconf-set variables
@@ -1054,7 +1054,7 @@ INCLUDES = -I. -I$(@D) -I$(srcdir) -I$(srcdir)/$(@D) \
 	   $(CPPINC) $(GMPINC) $(DECNUMINC) $(BACKTRACEINC) \
 	   $(CLOOGINC) $(ISLINC)
 
-.c.o:
+.cc.o .c.o:
 	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $< $(OUTPUT_OPTION)
 
 #
-- 
GitLab