Wed Jan 23 02:14:54 2013 UTC ()
Handle CPUFLAGS being empty


(matt)
diff -r1.1.10.2 -r1.1.10.3 src/lib/csu/arch/arm/Makefile.inc

cvs diff -r1.1.10.2 -r1.1.10.3 src/lib/csu/arch/arm/Makefile.inc (expand / switch to unified diff)

--- src/lib/csu/arch/arm/Makefile.inc 2013/01/22 22:56:35 1.1.10.2
+++ src/lib/csu/arch/arm/Makefile.inc 2013/01/23 02:14:54 1.1.10.3
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1# $NetBSD: Makefile.inc,v 1.1.10.2 2013/01/22 22:56:35 matt Exp $ 1# $NetBSD: Makefile.inc,v 1.1.10.3 2013/01/23 02:14:54 matt Exp $
2 2
3CPPFLAGS+= -DELFSIZE=32 3CPPFLAGS+= -DELFSIZE=32
4.if ${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmeb" \ 4.if ${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmeb" \
5 || ${CPUFLAGS:M-mabi=aapcs*} != "" 5 || (!empty(CPUFLAGS) && ${CPUFLAGS:M-mabi=aapcs*} != "")
6CPPFLAGS+= -DHAVE_INITFINI_ARRAY 6CPPFLAGS+= -DHAVE_INITFINI_ARRAY
7.endif 7.endif