This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Commit: MEP: Use C++ to compile mep-pragma.
- From: Nick Clifton <nickc at redhat dot com>
- To: dj at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 17 Aug 2012 10:10:02 +0100
- Subject: 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