Source-Changes-HG archive

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

[src/trunk]: src/lib/libm more stuff needs -mfpu=vfp



details:   https://anonhg.NetBSD.org/src/rev/8541303ab248
branches:  trunk
changeset: 819499:8541303ab248
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Dec 08 18:42:01 2016 +0000

description:
more stuff needs -mfpu=vfp

diffstat:

 lib/libm/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r af865df11406 -r 8541303ab248 lib/libm/Makefile
--- a/lib/libm/Makefile Thu Dec 08 13:32:17 2016 +0000
+++ b/lib/libm/Makefile Thu Dec 08 18:42:01 2016 +0000
@@ -1,4 +1,4 @@
-#  $NetBSD: Makefile,v 1.186 2016/09/21 14:11:40 christos Exp $
+#  $NetBSD: Makefile,v 1.187 2016/12/08 18:42:01 christos Exp $
 #
 #  @(#)Makefile 5.1beta 93/09/24
 #
@@ -69,7 +69,9 @@
 .PATH.c: ${.CURDIR}/arch/arm
 COMMON_SRCS+= fenv.c s_nexttowardf.c \
        s_nearbyint.c s_rintl.c
-COPTS.fenv.c+= -mfpu=vfp
+.for f in fenv.c lrint.S lrintf.S s_fabsf.S s_fma.S s_fmaf.S
+COPTS.$f +=    -mfpu=vfp
+.endfor
 COMMON_SRCS+= s_fma.c s_fmaf.c s_fmal.c
 .if (${MKSOFTFLOAT} == "no")
 .PATH.S: ${.CURDIR}/arch/arm



Home | Main Index | Thread Index | Old Index