diff --git a/sys/arch/zaurus/stand/zboot/Makefile b/sys/arch/zaurus/stand/zboot/Makefile index 4046f66cacf0..5a57063305f7 100644 --- a/sys/arch/zaurus/stand/zboot/Makefile +++ b/sys/arch/zaurus/stand/zboot/Makefile @@ -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