diff options
| author | martin <martin@NetBSD.org> | 2014-12-27 16:54:02 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2014-12-27 16:54:02 +0000 |
| commit | e712adbc91ffeab5bb7ff080e24d8d7f15d9447a (patch) | |
| tree | b6694788182a45053e13c1df03de55b4d04b02fe /lib/libm/Makefile | |
| parent | 9e516e9c4f8578493cff5176ad258c5e2bc8f6b9 (diff) | |
fenv(3) support for hppa
Diffstat (limited to 'lib/libm/Makefile')
| -rw-r--r-- | lib/libm/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libm/Makefile b/lib/libm/Makefile index 4402880e95f..3868115d04c 100644 --- a/lib/libm/Makefile +++ b/lib/libm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.167 2014/11/17 16:53:23 christos Exp $ +# $NetBSD: Makefile,v 1.168 2014/12/27 16:54:02 martin Exp $ # # @(#)Makefile 5.1beta 93/09/24 # @@ -75,6 +75,11 @@ COPTS.fenv.c+= -mfpu=vfp .PATH.S: ${.CURDIR}/arch/arm ARCH_SRCS = e_sqrt.S e_sqrtf.S lrint.S lrintf.S s_fabsf.S s_fma.S s_fmaf.S .endif +.elif (${LIBC_MACHINE_ARCH} == "hppa") +.PATH.c: ${.CURDIR}/arch/hppa +COMMON_SRCS+= fenv.c s_nexttowardf.c \ + s_nearbyint.c s_rintl.c +COPTS.e_sqrtl.c += -DHAVE_FENV_H .elif (${LIBC_MACHINE_ARCH} == "sparc") .PATH: ${.CURDIR}/arch/sparc COMMON_SRCS+= fenv.c |
