Deleted Added
full compact
Makefile (323515) Makefile (334771)
1# $FreeBSD: stable/11/lib/msun/tests/Makefile 323515 2017-09-13 00:51:36Z rlibby $
1# $FreeBSD: stable/11/lib/msun/tests/Makefile 334771 2018-06-07 09:03:42Z dim $
2
3.include <bsd.own.mk>
4
5TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libm
6
7# All architectures on FreeBSD have fenv.h
8CFLAGS+= -DHAVE_FENV_H
9

--- 69 unchanged lines hidden (view full) ---

79#COPTS+= -Wfloat-equal
80
81IGNORE_PRAGMA=
82
83SRCS.ilogb2_test= ilogb_test.c
84
85LIBADD+= m
86
2
3.include <bsd.own.mk>
4
5TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libm
6
7# All architectures on FreeBSD have fenv.h
8CFLAGS+= -DHAVE_FENV_H
9

--- 69 unchanged lines hidden (view full) ---

79#COPTS+= -Wfloat-equal
80
81IGNORE_PRAGMA=
82
83SRCS.ilogb2_test= ilogb_test.c
84
85LIBADD+= m
86
87.if ${MACHINE_CPUARCH} == "i386"
88# XXX: __fldcw macro mismatch between fenv.h and ieeefp.h .
89CWARNFLAGS.clang+= -Wno-error=macro-redefined
90.endif
91WARNS?= 1
92
93# Copied from lib/msun/Makefile
94.if ${MACHINE_CPUARCH} == "i386"
95ARCH_SUBDIR= i387
96.else
97ARCH_SUBDIR= ${MACHINE_CPUARCH}
98.endif
99
100.include "../${ARCH_SUBDIR}/Makefile.inc"
101
102# XXX: for some odd reason float.h doesn't tell the full story about what the
103# precision is.
104CFLAGS+= -DLDBL_PREC=${LDBL_PREC}
105
106.include <netbsd-tests.test.mk>
107
108.include <bsd.test.mk>
87WARNS?= 1
88
89# Copied from lib/msun/Makefile
90.if ${MACHINE_CPUARCH} == "i386"
91ARCH_SUBDIR= i387
92.else
93ARCH_SUBDIR= ${MACHINE_CPUARCH}
94.endif
95
96.include "../${ARCH_SUBDIR}/Makefile.inc"
97
98# XXX: for some odd reason float.h doesn't tell the full story about what the
99# precision is.
100CFLAGS+= -DLDBL_PREC=${LDBL_PREC}
101
102.include <netbsd-tests.test.mk>
103
104.include <bsd.test.mk>