summaryrefslogtreecommitdiff
path: root/lib/libc/compiler_rt
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2014-08-13 14:41:45 +0000
committerjoerg <joerg@NetBSD.org>2014-08-13 14:41:45 +0000
commita51f2fa7c3a3df77ea6af4d5d6ffb2df2b72fe21 (patch)
tree7cfe9ac47d8d9bede509ca7aed3d48155356961f /lib/libc/compiler_rt
parent5934219f46f807620ff8785afc1a9748818ee762 (diff)
powerpc64 uses the same sources as powerpc and needs the long double as
double-double sources.
Diffstat (limited to 'lib/libc/compiler_rt')
-rw-r--r--lib/libc/compiler_rt/Makefile.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/compiler_rt/Makefile.inc b/lib/libc/compiler_rt/Makefile.inc
index b35cb2a2c6f..fe37b1a127f 100644
--- a/lib/libc/compiler_rt/Makefile.inc
+++ b/lib/libc/compiler_rt/Makefile.inc
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.inc,v 1.24 2014/08/10 23:39:08 matt Exp $
+# $NetBSD: Makefile.inc,v 1.25 2014/08/13 14:41:45 joerg Exp $
COMPILER_RT_SRCDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
-.if ${LIBC_MACHINE_ARCH} == "powerpc"
+.if ${LIBC_MACHINE_ARCH} == "powerpc" || ${LIBC_MACHINE_ARCH} == "powerpc64"
COMPILER_RT_CPU_DIR= ${COMPILER_RT_SRCDIR}/lib/builtins/ppc
COMPILER_RT_ARCH_DIR= ${COMPILER_RT_SRCDIR}/lib/builtins/ppc
.else
@@ -200,7 +200,7 @@ GENERIC_SRCS+= \
InstrProfilingFile.c \
InstrProfilingPlatformOther.c
-.if ${LIBC_MACHINE_ARCH} == "powerpc"
+.if ${LIBC_MACHINE_ARCH} == "powerpc" || ${LIBC_MACHINE_ARCH} == "powerpc64"
GENERIC_SRCS+= \
fixtfdi.c \
fixunstfdi.c \