Module Name:    src
Committed By:   joerg
Date:           Sun Aug 10 20:48:34 UTC 2014

Modified Files:
        src/lib/libm: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.161 -r1.162 src/lib/libm/Makefile

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/Makefile
diff -u src/lib/libm/Makefile:1.161 src/lib/libm/Makefile:1.162
--- src/lib/libm/Makefile:1.161	Sun Aug 10 05:57:31 2014
+++ src/lib/libm/Makefile	Sun Aug 10 20:48:34 2014
@@ -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 @@ COPTS+=	-mfloat-ieee -mieee-with-inexact
 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

Reply via email to