Module Name: src
Committed By: christos
Date: Mon Nov 4 21:30:16 UTC 2013
Modified Files:
src/sys/arch/zaurus/stand/zboot: Makefile
Log Message:
fix more -mno-thumb.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/zaurus/stand/zboot/Makefile
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/zaurus/stand/zboot/Makefile
diff -u src/sys/arch/zaurus/stand/zboot/Makefile:1.12 src/sys/arch/zaurus/stand/zboot/Makefile:1.13
--- src/sys/arch/zaurus/stand/zboot/Makefile:1.12 Thu Aug 15 17:41:09 2013
+++ src/sys/arch/zaurus/stand/zboot/Makefile Mon Nov 4 16:30:16 2013
@@ -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+= -nostdinc -I. -I${.CURDIR} -I
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