Module Name: src
Committed By: joerg
Date: Sat Feb 27 19:06:56 UTC 2016
Modified Files:
src/lib/libm/compiler_rt: Makefile.inc
Log Message:
Long double complex multiplication and division helpers are needed on
Sparc64 and AArch64.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libm/compiler_rt/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libm/compiler_rt/Makefile.inc
diff -u src/lib/libm/compiler_rt/Makefile.inc:1.9 src/lib/libm/compiler_rt/Makefile.inc:1.10
--- src/lib/libm/compiler_rt/Makefile.inc:1.9 Wed Oct 22 10:33:27 2014
+++ src/lib/libm/compiler_rt/Makefile.inc Sat Feb 27 19:06:56 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.9 2014/10/22 10:33:27 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.10 2016/02/27 19:06:56 joerg Exp $
COMPILER_RT_SRCDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
@@ -23,7 +23,7 @@ GENERIC_SRCS+= \
divsc3.c \
divxc3.c
-.if ${MACHINE_CPU} == "powerpc"
+.if ${MACHINE_CPU} == "powerpc" || ${LIBC_MACHINE_CPU:U} == "sparc64" || ${LIBC_MACHINE_CPU:U} == "aarch64"
GENERIC_SRCS+= \
divtc3.c \
multc3.c