diff options
| author | matt <matt@NetBSD.org> | 2013-01-23 02:18:50 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2013-01-23 02:18:50 +0000 |
| commit | 1c32da81a5e8a22668d4cd5034491a17b2512f87 (patch) | |
| tree | aa33edb7ac6e1defb27bafc05c1c68452c310c93 /libexec | |
| parent | a828e239e7a9f741d7d1f75dc299bd7d24b7b21e (diff) | |
Make sure CFLAGS is not empty.
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/ld.elf_so/arch/arm/Makefile.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ld.elf_so/arch/arm/Makefile.inc b/libexec/ld.elf_so/arch/arm/Makefile.inc index 931461dccd3..7aa72d46b31 100644 --- a/libexec/ld.elf_so/arch/arm/Makefile.inc +++ b/libexec/ld.elf_so/arch/arm/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.13 2013/01/22 22:49:09 matt Exp $ +# $NetBSD: Makefile.inc,v 1.14 2013/01/23 02:18:50 matt Exp $ SRCS+= rtld_start.S mdreloc.c @@ -6,8 +6,8 @@ SRCS+= rtld_start.S mdreloc.c CPPFLAGS+= -fpic CPPFLAGS+= -DELFSIZE=32 -.if ${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmeb" || \ - ${CFLAGS:Mabi=aapcs} != "" +.if ${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmeb" \ + || (!empty(CFLAGS) && ${CFLAGS:Mabi=aapcs} != "") CPPFLAGS+= -DHAVE_INITFINI_ARRAY .endif |
