Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/usr.bin XXXGCC5: add symlinks for SH .cc f...
details: https://anonhg.NetBSD.org/src/rev/d46906197d7b
branches: trunk
changeset: 344317:d46906197d7b
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Mar 22 05:08:38 2016 +0000
description:
XXXGCC5: add symlinks for SH .cc files.
diffstat:
external/gpl3/gcc/usr.bin/backend/Makefile | 10 +++++++++-
external/gpl3/gcc/usr.bin/cc1/Makefile | 6 +++++-
2 files changed, 14 insertions(+), 2 deletions(-)
diffs (48 lines):
diff -r 763344f3a717 -r d46906197d7b external/gpl3/gcc/usr.bin/backend/Makefile
--- a/external/gpl3/gcc/usr.bin/backend/Makefile Tue Mar 22 05:04:41 2016 +0000
+++ b/external/gpl3/gcc/usr.bin/backend/Makefile Tue Mar 22 05:08:38 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2016/03/16 10:56:20 mrg Exp $
+# $NetBSD: Makefile,v 1.29 2016/03/22 05:08:38 mrg Exp $
LIBISPRIVATE= yes
@@ -18,10 +18,18 @@
HOSTPROG_CXX= 1
+.include <bsd.own.mk>
+
# XXX ${G_OBJS:.o=.c} is invalid in GCC 5.3, but work around for now
BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/wide-int-print.cc wide-int-print.c
BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/wide-int.cc wide-int.c
+.if ${MACHINE_CPU} == "sh3"
+BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/sh/sh-mem.cc sh-mem.c
+BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/sh/sh_treg_combine.cc sh_treg_combine.c
+BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/sh/sh_optimize_sett_clrt.cc sh_optimize_sett_clrt.c
+.endif
+
.include <bsd.lib.mk>
# Force using C++ for this
diff -r 763344f3a717 -r d46906197d7b external/gpl3/gcc/usr.bin/cc1/Makefile
--- a/external/gpl3/gcc/usr.bin/cc1/Makefile Tue Mar 22 05:04:41 2016 +0000
+++ b/external/gpl3/gcc/usr.bin/cc1/Makefile Tue Mar 22 05:08:38 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2016/03/18 17:52:30 christos Exp $
+# $NetBSD: Makefile,v 1.11 2016/03/22 05:08:38 mrg Exp $
PROG= cc1
SRCS= ${G_C_OBJS:S,c-family/,,:S,c/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
@@ -47,6 +47,10 @@
CPPFLAGS.default-c.c+= -I${BACKENDOBJ}
+.if ${MACHINE_CPU} == "sh3"
+BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/sh/sh-c.cc sh-c.c
+.endif
+
LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
Home |
Main Index |
Thread Index |
Old Index