fix more -mno-thumb.
This commit is contained in:
parent
fe9baffcee
commit
1b59fcd58b
@ -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${.OBJDIR} -I${S}
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user