aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@integrable-solutions.net>2013-03-27 13:20:12 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2013-03-27 13:20:12 +0000
commit9469b9b27bc826e71573195d55fd82b7e97ffb38 (patch)
tree9868eb214314cd7886cc779e4abf6ebaf78cd7b8 /gcc
parent1a8c1e35b38094868dacad28eed2373233088dd2 (diff)
downloadgcc-9469b9b27bc826e71573195d55fd82b7e97ffb38.zip
gcc-9469b9b27bc826e71573195d55fd82b7e97ffb38.tar.gz
gcc-9469b9b27bc826e71573195d55fd82b7e97ffb38.tar.bz2
Makefile.in (.SUFFIXES): Add .cc.
* Makefile.in (.SUFFIXES): Add .cc. (.c.o): Apply same recipe for implicit rule .cc.o. From-SVN: r197162
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/Makefile.in4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b90cc67..0039342 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 54ea04f..b60e1f8 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)
#