Source-Changes-HG archive

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

[src/trunk]: src/sys/arch more -fcommon for boot programs.



details:   https://anonhg.NetBSD.org/src/rev/055f2326fda3
branches:  trunk
changeset: 1020535:055f2326fda3
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Apr 15 01:54:38 2021 +0000

description:
more -fcommon for boot programs.

diffstat:

 sys/arch/hp300/stand/Makefile.inc       |  4 +++-
 sys/arch/mvme68k/stand/Makefile.booters |  5 +++--
 sys/arch/sgimips/stand/Makefile.inc     |  4 +++-
 sys/arch/x68k/stand/Makefile.inc        |  4 ++--
 4 files changed, 11 insertions(+), 6 deletions(-)

diffs (56 lines):

diff -r 314f50aa48ad -r 055f2326fda3 sys/arch/hp300/stand/Makefile.inc
--- a/sys/arch/hp300/stand/Makefile.inc Thu Apr 15 00:37:31 2021 +0000
+++ b/sys/arch/hp300/stand/Makefile.inc Thu Apr 15 01:54:38 2021 +0000
@@ -1,7 +1,9 @@
-#      $NetBSD: Makefile.inc,v 1.16 2009/03/15 06:10:03 tsutsui Exp $
+#      $NetBSD: Makefile.inc,v 1.17 2021/04/15 01:54:38 mrg Exp $
 
 BINDIR=                        /usr/mdec
 
 release:
 
 S?=            ${.CURDIR}/../../../..
+
+COPTS+=                -fcommon
diff -r 314f50aa48ad -r 055f2326fda3 sys/arch/mvme68k/stand/Makefile.booters
--- a/sys/arch/mvme68k/stand/Makefile.booters   Thu Apr 15 00:37:31 2021 +0000
+++ b/sys/arch/mvme68k/stand/Makefile.booters   Thu Apr 15 01:54:38 2021 +0000
@@ -1,10 +1,11 @@
-#      $NetBSD: Makefile.booters,v 1.26 2017/04/08 19:53:21 christos Exp $
+#      $NetBSD: Makefile.booters,v 1.27 2021/04/15 01:54:39 mrg Exp $
 
 S?=            ${.CURDIR}/../../../..
 MDEC_DIR?=     /usr/mdec
 RELOC?=                0x3F0000
 COPTS?=                -Os -Wall -Wno-main -Wmissing-prototypes -Wstrict-prototypes \
-               -ffreestanding -fomit-frame-pointer -fno-unwind-tables
+               -ffreestanding -fomit-frame-pointer -fno-unwind-tables \
+               -fcommon
 DEFS?= 
 STRIPFLAG?=
 
diff -r 314f50aa48ad -r 055f2326fda3 sys/arch/sgimips/stand/Makefile.inc
--- a/sys/arch/sgimips/stand/Makefile.inc       Thu Apr 15 00:37:31 2021 +0000
+++ b/sys/arch/sgimips/stand/Makefile.inc       Thu Apr 15 01:54:38 2021 +0000
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile.inc,v 1.3 2019/01/02 03:04:26 tsutsui Exp $
+# $NetBSD: Makefile.inc,v 1.4 2021/04/15 01:54:39 mrg Exp $
 
 NOPIE= # defined
 
 BINDIR?=       /usr/mdec
 
+COPTS+=                -fcommon
+
 # XXX SHOULD NOT NEED TO DEFINE THESE!
 LIBCRT0=
 LIBCRTI=
diff -r 314f50aa48ad -r 055f2326fda3 sys/arch/x68k/stand/Makefile.inc
--- a/sys/arch/x68k/stand/Makefile.inc  Thu Apr 15 00:37:31 2021 +0000
+++ b/sys/arch/x68k/stand/Makefile.inc  Thu Apr 15 01:54:38 2021 +0000
@@ -1,3 +1,3 @@
-#      $NetBSD: Makefile.inc,v 1.3 2020/08/10 07:00:49 rin Exp $
+#      $NetBSD: Makefile.inc,v 1.4 2021/04/15 01:54:39 mrg Exp $
 
-DBG=-Os -fno-unwind-tables -Wno-attributes
+DBG=-Os -fno-unwind-tables -Wno-attributes -fcommon



Home | Main Index | Thread Index | Old Index