Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x68k/stand Make x68k/stand compile with GCC8. Teste...
details: https://anonhg.NetBSD.org/src/rev/7226a80d0a84
branches: trunk
changeset: 937164:7226a80d0a84
user: rin <rin%NetBSD.org@localhost>
date: Mon Aug 10 07:00:49 2020 +0000
description:
Make x68k/stand compile with GCC8. Tested with XEiJ.
diffstat:
sys/arch/x68k/stand/Makefile.inc | 4 ++--
sys/arch/x68k/stand/boot/Makefile | 4 ++--
sys/arch/x68k/stand/mboot/Makefile | 4 ++--
sys/arch/x68k/stand/xxboot/Makefile.xxboot | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diffs (63 lines):
diff -r 37b8c6870144 -r 7226a80d0a84 sys/arch/x68k/stand/Makefile.inc
--- a/sys/arch/x68k/stand/Makefile.inc Mon Aug 10 06:54:45 2020 +0000
+++ b/sys/arch/x68k/stand/Makefile.inc Mon Aug 10 07:00:49 2020 +0000
@@ -1,3 +1,3 @@
-# $NetBSD: Makefile.inc,v 1.2 2013/08/12 16:34:05 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.3 2020/08/10 07:00:49 rin Exp $
-DBG=-Os -fno-unwind-tables
+DBG=-Os -fno-unwind-tables -Wno-attributes
diff -r 37b8c6870144 -r 7226a80d0a84 sys/arch/x68k/stand/boot/Makefile
--- a/sys/arch/x68k/stand/boot/Makefile Mon Aug 10 06:54:45 2020 +0000
+++ b/sys/arch/x68k/stand/boot/Makefile Mon Aug 10 07:00:49 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2020/01/18 05:46:25 isaki Exp $
+# $NetBSD: Makefile,v 1.34 2020/08/10 07:00:49 rin Exp $
NOMAN= # defined
@@ -40,7 +40,7 @@
CPPFLAGS+= -DRTC_OFFSET=${RTC_OFFSET}
CPPFLAGS+= -DSUPPORT_BOOTP -DSUPPORT_DHCP
#CPPFLAGS+= -DDEBUG
-CFLAGS= -Wno-main -Os -m68020-60
+CFLAGS= -Wno-main -Os -m68020-60 -Wno-attributes
LINKFLAGS= -N -static -T ${.CURDIR}/../boot/boot.ldscript
LINKFLAGS+= --defsym=TEXTADDR=$(TEXT)
ELF2AOUT_OPTS= -O
diff -r 37b8c6870144 -r 7226a80d0a84 sys/arch/x68k/stand/mboot/Makefile
--- a/sys/arch/x68k/stand/mboot/Makefile Mon Aug 10 06:54:45 2020 +0000
+++ b/sys/arch/x68k/stand/mboot/Makefile Mon Aug 10 07:00:49 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2020/02/01 08:08:15 isaki Exp $
+# $NetBSD: Makefile,v 1.19 2020/08/10 07:00:49 rin Exp $
NOMAN= # defined
.include <bsd.own.mk>
@@ -23,7 +23,7 @@
CPPFLAGS+= -I${.CURDIR}/../libiocs
CPPFLAGS+= -DTEXTADDR="0x${TEXT}"
CPPFLAGS+= -DBOOT=\"${BOOT}\" -DBOOT_VERS=\"${VERSION}\"
-CFLAGS= -Wno-main -Os -m68000
+CFLAGS= -Wno-main -Os -m68000 -Wno-attributes
AFLAGS+= -m68000
LINKFLAGS= -N -static -Ttext ${TEXT}
diff -r 37b8c6870144 -r 7226a80d0a84 sys/arch/x68k/stand/xxboot/Makefile.xxboot
--- a/sys/arch/x68k/stand/xxboot/Makefile.xxboot Mon Aug 10 06:54:45 2020 +0000
+++ b/sys/arch/x68k/stand/xxboot/Makefile.xxboot Mon Aug 10 07:00:49 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.xxboot,v 1.12 2020/01/28 12:02:02 isaki Exp $
+# $NetBSD: Makefile.xxboot,v 1.13 2020/08/10 07:00:49 rin Exp $
NOMAN= # defined
@@ -29,7 +29,7 @@
.include "${S}/conf/newvers_stand.mk"
-CFLAGS= -Os -fomit-frame-pointer -fno-unwind-tables
+CFLAGS= -Os -fomit-frame-pointer -fno-unwind-tables -Wno-attributes
#CFLAGS+= -Wall
CPPFLAGS+= -D_STANDALONE
CPPFLAGS+= -DTEXTADDR="$(TEXT)" -DBOOT_TEXTADDR="$(BOOT_TEXT)"
Home |
Main Index |
Thread Index |
Old Index