Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc.old/usr.bin/cc1plus Fix addition of C++ .c...



details:   https://anonhg.NetBSD.org/src/rev/545714d66e8b
branches:  trunk
changeset: 973452:545714d66e8b
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Jul 01 08:25:44 2020 +0000

description:
Fix addition of C++ .cc source to SRCS

Fix assumption that all of the source files are .c, as some are .cc.

Not tested, based on similar change to
  external/gpl3/gcc/usr.bin/cc1plus/Makefile

diffstat:

 external/gpl3/gcc.old/usr.bin/cc1plus/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r d804c5ce7b2b -r 545714d66e8b external/gpl3/gcc.old/usr.bin/cc1plus/Makefile
--- a/external/gpl3/gcc.old/usr.bin/cc1plus/Makefile    Wed Jul 01 08:03:10 2020 +0000
+++ b/external/gpl3/gcc.old/usr.bin/cc1plus/Makefile    Wed Jul 01 08:25:44 2020 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: Makefile,v 1.8 2019/09/26 08:03:59 mrg Exp $
+#      $NetBSD: Makefile,v 1.9 2020/07/01 08:25:44 lukem Exp $
 
 PROG=          cc1plus
-SRCS=          ${G_CXX_OBJS:S,c-family/,,:S,cp/,,:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
+SRCS=          ${G_CXX_OBJS:S,c-family/,,:S,cp/,,:S,constraint.o,constraint.cc,:S,logic.o,logic.cc,:Nlibcpp.a:.o=.c}
+SRCS+=         main.c ${PROG}-checksum.c
 
 # XXX
 NOMAN= 1



Home | Main Index | Thread Index | Old Index