Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/csu/arch/arm Handle CPUFLAGS being empty



details:   https://anonhg.NetBSD.org/src/rev/6f85a35f1b65
branches:  trunk
changeset: 784245:6f85a35f1b65
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Jan 23 02:14:14 2013 +0000

description:
Handle CPUFLAGS being empty

diffstat:

 lib/csu/arch/arm/Makefile.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r 46703c401b57 -r 6f85a35f1b65 lib/csu/arch/arm/Makefile.inc
--- a/lib/csu/arch/arm/Makefile.inc     Tue Jan 22 22:57:37 2013 +0000
+++ b/lib/csu/arch/arm/Makefile.inc     Wed Jan 23 02:14:14 2013 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile.inc,v 1.3 2013/01/22 22:49:48 matt Exp $
+# $NetBSD: Makefile.inc,v 1.4 2013/01/23 02:14:14 matt Exp $
 
 CPPFLAGS+=     -DELFSIZE=32
 .if ${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmeb" \
-    || ${CPUFLAGS:M-mabi=aapcs*} != ""
+    || (!empty(CPUFLAGS) && ${CPUFLAGS:M-mabi=aapcs*} != "")
 CPPFLAGS+=      -DHAVE_INITFINI_ARRAY
 .endif



Home | Main Index | Thread Index | Old Index