Module Name: src
Committed By: mrg
Date: Tue Apr 13 01:11:06 UTC 2021
Modified Files:
src/external/bsd/top/bin: Makefile
src/external/gpl3/gdb: Makefile.inc
src/usr.sbin/racoon: Makefile
Log Message:
apply -fcommon to sources that still rely upon it.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/external/bsd/top/bin/Makefile
cvs rdiff -u -r1.11 -r1.12 src/external/gpl3/gdb/Makefile.inc
cvs rdiff -u -r1.38 -r1.39 src/usr.sbin/racoon/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/bsd/top/bin/Makefile
diff -u src/external/bsd/top/bin/Makefile:1.11 src/external/bsd/top/bin/Makefile:1.12
--- src/external/bsd/top/bin/Makefile:1.11 Sun Oct 13 07:28:07 2019
+++ src/external/bsd/top/bin/Makefile Tue Apr 13 01:11:05 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2019/10/13 07:28:07 mrg Exp $
+# $NetBSD: Makefile,v 1.12 2021/04/13 01:11:05 mrg Exp $
.include <bsd.own.mk>
@@ -41,4 +41,6 @@ COPTS.display.c = -Wno-format-nonliteral
COPTS.commands.c+= ${GCC_NO_CAST_FUNCTION_TYPE}
+COPTS+= -fcommon
+
.include <bsd.prog.mk>
Index: src/external/gpl3/gdb/Makefile.inc
diff -u src/external/gpl3/gdb/Makefile.inc:1.11 src/external/gpl3/gdb/Makefile.inc:1.12
--- src/external/gpl3/gdb/Makefile.inc:1.11 Sun Oct 16 04:36:52 2016
+++ src/external/gpl3/gdb/Makefile.inc Tue Apr 13 01:11:05 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.11 2016/10/16 04:36:52 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.12 2021/04/13 01:11:05 mrg Exp $
USE_LIBEDIT=no
USE_TUI=yes
@@ -14,4 +14,6 @@ CWARNFLAGS.clang+= -Wno-unused-value -Wn
-Wno-tautological-compare -Wno-format-extra-args \
-Wno-string-plus-int
+COPTS+= -fcommon
+
DIST:= ${.PARSEDIR}/dist
Index: src/usr.sbin/racoon/Makefile
diff -u src/usr.sbin/racoon/Makefile:1.38 src/usr.sbin/racoon/Makefile:1.39
--- src/usr.sbin/racoon/Makefile:1.38 Wed Dec 2 02:21:43 2020
+++ src/usr.sbin/racoon/Makefile Tue Apr 13 01:11:05 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2020/12/02 02:21:43 rin Exp $
+# $NetBSD: Makefile,v 1.39 2021/04/13 01:11:05 mrg Exp $
WARNS?= 0 # XXX third-party program, many issues
NOCLANGERROR= # defined
@@ -83,4 +83,6 @@ prsa_par.c: ${DIST}/src/racoon/prsa_par.
CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER}
+COPTS+= -fcommon
+
.include <bsd.prog.mk>