Source-Changes-HG archive

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

[src/trunk]: src/lib/libm Add -mfpu=vfp for fenv.c, since it gets those instr...



details:   https://anonhg.NetBSD.org/src/rev/76c13404f13c
branches:  trunk
changeset: 798196:76c13404f13c
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Aug 10 20:48:34 2014 +0000

description:
Add -mfpu=vfp for fenv.c, since it gets those instructions from
machdep/armreg.h

diffstat:

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

diffs (17 lines):

diff -r 9ada5d97dcbd -r 76c13404f13c lib/libm/Makefile
--- a/lib/libm/Makefile Sun Aug 10 20:07:41 2014 +0000
+++ b/lib/libm/Makefile Sun Aug 10 20:48:34 2014 +0000
@@ -1,4 +1,4 @@
-#  $NetBSD: Makefile,v 1.161 2014/08/10 05:57:31 matt Exp $
+#  $NetBSD: Makefile,v 1.162 2014/08/10 20:48:34 joerg Exp $
 #
 #  @(#)Makefile 5.1beta 93/09/24
 #
@@ -67,6 +67,7 @@
 COMMON_SRCS+= fenv.c s_nexttowardf.c \
        s_nearbyint.c s_rintl.c
 COPTS.e_sqrtl.c += -DHAVE_FENV_H
+COPTS.fenv.c+= -mfpu=vfp
 .if (${MKSOFTFLOAT} == "no")
 ARCH_SRCS = e_sqrt.S e_sqrtf.S lrint.S lrintf.S s_fabsf.S s_fma.S s_fmaf.S
 .else



Home | Main Index | Thread Index | Old Index