Module Name: src
Committed By: christos
Date: Mon Nov 4 20:58:31 UTC 2013
Modified Files:
src/sys/arch/acorn26/stand: Makefile.buildboot
Log Message:
no-thumb-interlock is the default, no-thumb does not exist for gcc-4.8
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/acorn26/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.17 src/sys/arch/acorn26/stand/Makefile.buildboot:1.18
--- src/sys/arch/acorn26/stand/Makefile.buildboot:1.17 Wed Aug 21 02:07:26 2013
+++ src/sys/arch/acorn26/stand/Makefile.buildboot Mon Nov 4 15:58:31 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.buildboot,v 1.17 2013/08/21 06:07:26 matt Exp $
+# $NetBSD: Makefile.buildboot,v 1.18 2013/11/04 20:58:31 christos Exp $
S?= ${.CURDIR}/../../../..
@@ -34,7 +34,9 @@ CPPFLAGS+= -D_STANDALONE -DHIMEM=0x28000
CPPFLAGS+= -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
CPPFLAGS+= -I${.CURDIR}/../lib
CPPFLAGS+= -mabi=apcs-gnu -mfloat-abi=soft -march=armv2
+.if ${HAVE_GCC} < 48
CPPFLAGS+= -mno-thumb -mno-thumb-interwork
+.endif
CFLAGS= -O2
CFLAGS+= -ffreestanding -fno-unwind-tables
CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes