Module Name: src
Committed By: maya
Date: Wed Feb 22 12:44:22 UTC 2017
Modified Files:
src/sys/arch/acorn26/stand: Makefile.buildboot
src/sys/arch/acorn32/stand: Makefile.buildboot
Log Message:
GC gcc < 4.8 logic.
-marm implies -mno-thumb, and -mno-thumb-interwork is a GCC default.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/acorn26/stand/Makefile.buildboot
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/acorn32/stand/Makefile.buildboot
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/acorn26/stand/Makefile.buildboot
diff -u src/sys/arch/acorn26/stand/Makefile.buildboot:1.21 src/sys/arch/acorn26/stand/Makefile.buildboot:1.22
--- src/sys/arch/acorn26/stand/Makefile.buildboot:1.21 Sun Jan 12 15:26:28 2014
+++ src/sys/arch/acorn26/stand/Makefile.buildboot Wed Feb 22 12:44:21 2017
@@ -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+= -D_STANDALONE -DHIMEM=0x28000
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
Index: src/sys/arch/acorn32/stand/Makefile.buildboot
diff -u src/sys/arch/acorn32/stand/Makefile.buildboot:1.21 src/sys/arch/acorn32/stand/Makefile.buildboot:1.22
--- src/sys/arch/acorn32/stand/Makefile.buildboot:1.21 Sun Jan 12 15:26:28 2014
+++ src/sys/arch/acorn32/stand/Makefile.buildboot Wed Feb 22 12:44:21 2017
@@ -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+= -D_STANDALONE
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