Change remaining "MACHINE_ARCH" to "LIBC_MACHINE_ARCH"

This commit is contained in:
matt 2014-03-02 03:04:52 +00:00
parent 752e86217f
commit e0c9b05e1a
1 changed files with 4 additions and 4 deletions

View File

@ -1,13 +1,13 @@
# $NetBSD: Makefile.inc,v 1.15 2014/02/26 22:37:56 joerg Exp $ # $NetBSD: Makefile.inc,v 1.16 2014/03/02 03:04:52 matt Exp $
COMPILER_RT_SRCDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist COMPILER_RT_SRCDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
.if ${MACHINE_ARCH} == "powerpc" .if ${LIBC_MACHINE_ARCH} == "powerpc"
COMPILER_RT_CPU_DIR= ${COMPILER_RT_SRCDIR}/lib/builtins/ppc COMPILER_RT_CPU_DIR= ${COMPILER_RT_SRCDIR}/lib/builtins/ppc
COMPILER_RT_ARCH_DIR= ${COMPILER_RT_SRCDIR}/lib/builtins/ppc COMPILER_RT_ARCH_DIR= ${COMPILER_RT_SRCDIR}/lib/builtins/ppc
.else .else
COMPILER_RT_CPU_DIR= ${COMPILER_RT_SRCDIR}/lib/builtins/${MACHINE_CPU} COMPILER_RT_CPU_DIR= ${COMPILER_RT_SRCDIR}/lib/builtins/${MACHINE_CPU}
COMPILER_RT_ARCH_DIR= ${COMPILER_RT_SRCDIR}/lib/builtins/${MACHINE_ARCH} COMPILER_RT_ARCH_DIR= ${COMPILER_RT_SRCDIR}/lib/builtins/${LIBC_MACHINE_ARCH}
.endif .endif
.PATH: ${COMPILER_RT_CPU_DIR} .PATH: ${COMPILER_RT_CPU_DIR}
@ -166,7 +166,7 @@ GENERIC_SRCS+= \
GCDAProfiling.c \ GCDAProfiling.c \
PGOProfiling.c PGOProfiling.c
.if ${MACHINE_ARCH} == "powerpc" .if ${LIBC_MACHINE_ARCH} == "powerpc"
GENERIC_SRCS+= \ GENERIC_SRCS+= \
fixtfdi.c \ fixtfdi.c \
fixunstfdi.c \ fixunstfdi.c \