Makefile.in (.SUFFIXES): Add .cc.

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

From-SVN: r197162
This commit is contained in:
Gabriel Dos Reis 2013-03-27 13:20:12 +00:00 committed by Gabriel Dos Reis
parent 1a8c1e35b3
commit 9469b9b27b
2 changed files with 7 additions and 2 deletions

View File

@ -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> 2013-03-27 Richard Biener <rguenther@suse.de>
PR tree-optimization/37021 PR tree-optimization/37021

View File

@ -48,7 +48,7 @@ MAKEOVERRIDES =
# This must come before the language makefile fragments to allow them to # This must come before the language makefile fragments to allow them to
# add suffixes and rules of their own. # add suffixes and rules of their own.
.SUFFIXES: .SUFFIXES:
.SUFFIXES: .c .o .po .pox .gmo .SUFFIXES: .c .cc .o .po .pox .gmo
# ------------------------------- # -------------------------------
# Standard autoconf-set variables # Standard autoconf-set variables
@ -1054,7 +1054,7 @@ INCLUDES = -I. -I$(@D) -I$(srcdir) -I$(srcdir)/$(@D) \
$(CPPINC) $(GMPINC) $(DECNUMINC) $(BACKTRACEINC) \ $(CPPINC) $(GMPINC) $(DECNUMINC) $(BACKTRACEINC) \
$(CLOOGINC) $(ISLINC) $(CLOOGINC) $(ISLINC)
.c.o: .cc.o .c.o:
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $< $(OUTPUT_OPTION) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $< $(OUTPUT_OPTION)
# #