Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/zaurus/stand/zboot fix more -mno-thumb.
details: https://anonhg.NetBSD.org/src/rev/fccd8e61b6f6
branches: trunk
changeset: 791106:fccd8e61b6f6
user: christos <christos%NetBSD.org@localhost>
date: Mon Nov 04 21:30:16 2013 +0000
description:
fix more -mno-thumb.
diffstat:
sys/arch/zaurus/stand/zboot/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 9eb76fcd4cf3 -r fccd8e61b6f6 sys/arch/zaurus/stand/zboot/Makefile
--- a/sys/arch/zaurus/stand/zboot/Makefile Mon Nov 04 21:25:05 2013 +0000
+++ b/sys/arch/zaurus/stand/zboot/Makefile Mon Nov 04 21:30:16 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2013/08/15 21:41:09 matt Exp $
+# $NetBSD: Makefile,v 1.13 2013/11/04 21:30:16 christos Exp $
PROG= zboot
@@ -22,7 +22,11 @@
CPPFLAGS+= -D_STANDALONE -DHEAP_VARIABLE
CPPFLAGS+= -DLIBSA_ENABLE_LS_OP
CPPFLAGS+= -mabi=apcs-gnu -mfloat-abi=soft -mcpu=xscale
+.if ${HAVE_GCC} < 48
CPPFLAGS+= -mno-thumb -mno-thumb-interwork
+.else
+CPPFLAGS+= -marm
+.endif
CPUFLAGS=
AFLAGS+= -D_LOCORE
LDFLAGS+= -nostdlib -Bstatic
Home |
Main Index |
Thread Index |
Old Index