Source-Changes-HG archive

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

[src/trunk]: src/common/lib/libc/arch/arm Use ${COPT} so it properly emits th...



details:   https://anonhg.NetBSD.org/src/rev/ebc3a874c23c
branches:  trunk
changeset: 808916:ebc3a874c23c
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Jun 07 15:05:34 2015 +0000

description:
Use ${COPT} so it properly emits the right features doing MKCOMPAT

diffstat:

 common/lib/libc/arch/arm/features.mk |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (18 lines):

diff -r 804e59707d8e -r ebc3a874c23c common/lib/libc/arch/arm/features.mk
--- a/common/lib/libc/arch/arm/features.mk      Sun Jun 07 15:04:28 2015 +0000
+++ b/common/lib/libc/arch/arm/features.mk      Sun Jun 07 15:05:34 2015 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: features.mk,v 1.1 2014/02/27 09:37:02 matt Exp $
+# $NetBSD: features.mk,v 1.2 2015/06/07 15:05:34 matt Exp $
 
 .ifnmake obj
 TESTFILE=${NETBSDSRCDIR}/common/lib/libc/arch/arm/features.c
-FEAT_EABI!=if ${COMPILE.c} -fsyntax-only -DEABI_TEST ${TESTFILE} >/dev/null 2>/dev/null; then echo yes; else echo no; fi
-FEAT_LDREX!=if ${COMPILE.c} -fsyntax-only -DLDREX_TEST ${TESTFILE} >/dev/null 2>/dev/null; then echo yes; else echo no; fi
-FEAT_LDRD!=if ${COMPILE.c} -fsyntax-only -DLDRD_TEST ${TESTFILE} >/dev/null 2>/dev/null; then echo yes; else echo no; fi
-FEAT_THUMB2!=if ${COMPILE.c} -fsyntax-only -DTHUMB2_TEST ${TESTFILE} >/dev/null 2>/dev/null; then echo yes; else echo no; fi
+FEAT_EABI!=if ${COMPILE.c} ${COPTS} -fsyntax-only -DEABI_TEST ${TESTFILE} >/dev/null 2>/dev/null; then echo yes; else echo no; fi
+FEAT_LDREX!=if ${COMPILE.c} ${COPTS} -fsyntax-only -DLDREX_TEST ${TESTFILE} >/dev/null 2>/dev/null; then echo yes; else echo no; fi
+FEAT_LDRD!=if ${COMPILE.c} ${COPTS} -fsyntax-only -DLDRD_TEST ${TESTFILE} >/dev/null 2>/dev/null; then echo yes; else echo no; fi
+FEAT_THUMB2!=if ${COMPILE.c} ${COPTS} -fsyntax-only -DTHUMB2_TEST ${TESTFILE} >/dev/null 2>/dev/null; then echo yes; else echo no; fi
 .endif



Home | Main Index | Thread Index | Old Index