Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch GC gcc < 4.8 logic.
details: https://anonhg.NetBSD.org/src/rev/7ebfab2bd858
branches: trunk
changeset: 351686:7ebfab2bd858
user: maya <maya%NetBSD.org@localhost>
date: Wed Feb 22 12:44:21 2017 +0000
description:
GC gcc < 4.8 logic.
-marm implies -mno-thumb, and -mno-thumb-interwork is a GCC default.
diffstat:
sys/arch/acorn26/stand/Makefile.buildboot | 6 +-----
sys/arch/acorn32/stand/Makefile.buildboot | 6 +-----
2 files changed, 2 insertions(+), 10 deletions(-)
diffs (42 lines):
diff -r 9363b81d8d15 -r 7ebfab2bd858 sys/arch/acorn26/stand/Makefile.buildboot
--- a/sys/arch/acorn26/stand/Makefile.buildboot Wed Feb 22 12:34:49 2017 +0000
+++ b/sys/arch/acorn26/stand/Makefile.buildboot Wed Feb 22 12:44:21 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.buildboot,v 1.21 2014/01/12 15:26:28 tsutsui Exp $
+# $NetBSD: Makefile.buildboot,v 1.22 2017/02/22 12:44:21 maya Exp $
S?= ${.CURDIR}/../../../..
@@ -35,11 +35,7 @@
CPPFLAGS+= -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
CPPFLAGS+= -I${.CURDIR}/../lib
CPPFLAGS+= ${ARM_APCS_FLAGS} -march=armv2
-.if ${HAVE_GCC} < 48
-CPPFLAGS+= -mno-thumb -mno-thumb-interwork
-.else
CPPFLAGS+= -marm
-.endif
CFLAGS= -O2
CFLAGS+= -ffreestanding -fno-unwind-tables
CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
diff -r 9363b81d8d15 -r 7ebfab2bd858 sys/arch/acorn32/stand/Makefile.buildboot
--- a/sys/arch/acorn32/stand/Makefile.buildboot Wed Feb 22 12:34:49 2017 +0000
+++ b/sys/arch/acorn32/stand/Makefile.buildboot Wed Feb 22 12:44:21 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.buildboot,v 1.21 2014/01/12 15:26:28 tsutsui Exp $
+# $NetBSD: Makefile.buildboot,v 1.22 2017/02/22 12:44:21 maya Exp $
S?= ${.CURDIR}/../../../..
@@ -45,11 +45,7 @@
CPPFLAGS+= -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
CPPFLAGS+= -I${.CURDIR}/../lib
CPPFLAGS+= ${ARM_APCS_FLAGS} -march=armv3m
-.if ${HAVE_GCC} < 48
-CPPFLAGS+= -mno-thumb -mno-thumb-interwork
-.else
CPPFLAGS+= -marm
-.endif
CPUFLAGS=
CFLAGS= -O2
CFLAGS+= -ffreestanding -fno-unwind-tables
Home |
Main Index |
Thread Index |
Old Index