Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/compiler_rt Use MACHINE_ARCH for the sparc check.



details:   https://anonhg.NetBSD.org/src/rev/3fca26d6fbda
branches:  trunk
changeset: 824187:3fca26d6fbda
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri May 26 22:56:50 2017 +0000

description:
Use MACHINE_ARCH for the sparc check.

diffstat:

 lib/libc/compiler_rt/Makefile.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e8fb9d215f62 -r 3fca26d6fbda lib/libc/compiler_rt/Makefile.inc
--- a/lib/libc/compiler_rt/Makefile.inc Fri May 26 22:50:35 2017 +0000
+++ b/lib/libc/compiler_rt/Makefile.inc Fri May 26 22:56:50 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.32 2017/05/24 21:45:40 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.33 2017/05/26 22:56:50 joerg Exp $
 
 COMPILER_RT_SRCDIR=    ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
 
@@ -242,7 +242,7 @@
        clear_cache.c
 .endif
 
-.if ${LIBC_MACHINE_CPU} == "sparc" || ${LIBC_MACHINE_CPU} == "sparc64"
+.if ${LIBC_MACHINE_ARCH} == "sparc" || ${LIBC_MACHINE_ARCH} == "sparc64"
 GENERIC_SRCS+= \
        clear_cache.c
 .endif



Home | Main Index | Thread Index | Old Index