This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Commit: MEP: Use C++ to compile mep-pragma.


Hi DJ,

  I am applying the following patch as an obvious patch fix for building
  the MEP targeted port of gcc.  It fixes the build rule for
  mep-pragma.o so that is uses the C++ compiler instead of the C
  compiler.

Cheers
  Nick

gcc/ChangeLog
2012-08-17  Nick Clifton  <nickc@redhat.com>

	* config/mep/t-mep (mep-pragma.o): Use $(COMPILER) to compile
	mep-pragma.c.

Index: gcc/config/mep/t-mep
===================================================================
--- gcc/config/mep/t-mep	(revision 190466)
+++ gcc/config/mep/t-mep	(working copy)
@@ -30,7 +30,7 @@
 	coretypes.h $(TM_H) $(TREE_H) $(RTL_H) $(C_PRAGMA_H) \
 	$(CPPLIB_H) hard-reg-set.h output.h $(srcdir)/config/mep/mep-protos.h \
 	function.h insn-config.h reload.h $(TARGET_H)
-	$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
+	$(COMPILER) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
 
 MULTILIB_OPTIONS = mel mall-opts mfar
 MULTILIB_DIRNAMES = el allopt far


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]