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  <ni...@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

Reply via email to