Module Name:    src
Committed By:   mrg
Date:           Sun Feb  4 10:16:07 UTC 2018

Modified Files:
        src/external/gpl3/gcc/usr.bin/backend: Makefile
        src/external/gpl3/gcc/usr.bin/common: Makefile

Log Message:
make libbackend.a build and fix the libcommon.a sources list.
now all the gcc parts link.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/external/gpl3/gcc/usr.bin/backend/Makefile
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gcc/usr.bin/common/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/usr.bin/backend/Makefile
diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.40 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.41
--- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.40	Sun Feb  4 09:22:03 2018
+++ src/external/gpl3/gcc/usr.bin/backend/Makefile	Sun Feb  4 10:16:07 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.40 2018/02/04 09:22:03 mrg Exp $
+#	$NetBSD: Makefile,v 1.41 2018/02/04 10:16:07 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -554,6 +554,11 @@ COPTS.generic-match.c+=-fno-jump-tables
 COPTS.gimple-match.c+=-fno-jump-tables
 .endif
 
+# Don't fight with decimal128Local.h.
+# The GCC build only ignores the warning?
+COPTS.dfp.c+=	-fno-strict-aliasing
+
+CFLAGS+= -fno-exceptions -fno-rtti -fasynchronous-unwind-tables
 
 .PATH: ${DIST}/gcc ${DIST}/libiberty ${GCCARCH} ${G_out_file:H} ${DIST}/include
 .PATH: ${DIST}/gcc/config

Index: src/external/gpl3/gcc/usr.bin/common/Makefile
diff -u src/external/gpl3/gcc/usr.bin/common/Makefile:1.5 src/external/gpl3/gcc/usr.bin/common/Makefile:1.6
--- src/external/gpl3/gcc/usr.bin/common/Makefile:1.5	Wed Nov 15 07:47:40 2017
+++ src/external/gpl3/gcc/usr.bin/common/Makefile	Sun Feb  4 10:16:07 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2017/11/15 07:47:40 mrg Exp $
+#	$NetBSD: Makefile,v 1.6 2018/02/04 10:16:07 mrg Exp $
 
 LIBISPRIVATE=	yes
 
@@ -9,11 +9,15 @@ LIB=		common
 
 SRCS=		diagnostic.c \
 		diagnostic-color.c \
+		diagnostic-show-locus.o \
 		pretty-print.c \
-		intl.c \
 		vec.c \
+		intl.c \
 		input.c \
-		version.c
+		version.c \
+		hash-table.c \
+		ggc-none.c \
+		memory-block.cc
 
 # XXX make sure this doesn't have more than it needs
 CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} -I. \

Reply via email to