From: miod Date: Fri, 27 Jan 2023 16:39:22 +0000 (+0000) Subject: Add a few more -fno-builtin to make sure we test libm, not the compiler. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8550894424f8a4aa4aafb6cd57229dd6ed7cd9dd;p=openbsd Add a few more -fno-builtin to make sure we test libm, not the compiler. --- diff --git a/regress/lib/libm/cephes/Makefile b/regress/lib/libm/cephes/Makefile index 36f9f0a37fb..d155addb334 100644 --- a/regress/lib/libm/cephes/Makefile +++ b/regress/lib/libm/cephes/Makefile @@ -1,9 +1,10 @@ -# $OpenBSD: Makefile,v 1.2 2011/06/02 21:47:40 martynas Exp $ +# $OpenBSD: Makefile,v 1.3 2023/01/27 16:39:22 miod Exp $ PROG = cephes SRCS = cephes.c const.c constll.c monot.c monotl.c monotll.c polevll.c \ testvect.c testvectl.c testvectll.c LDADD = -lm DPADD = ${LIBM} +CFLAGS+= -fno-builtin .include diff --git a/regress/lib/libm/exp/Makefile b/regress/lib/libm/exp/Makefile index ebfd5904d80..80ade1ebeae 100644 --- a/regress/lib/libm/exp/Makefile +++ b/regress/lib/libm/exp/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.1 2006/03/15 21:44:06 otto Exp $ +# $OpenBSD: Makefile,v 1.2 2023/01/27 16:39:22 miod Exp $ PROG=exp LDADD=-lm DPADD=${LIBM} +CFLAGS+= -fno-builtin .include diff --git a/regress/lib/libm/floor/Makefile b/regress/lib/libm/floor/Makefile index 37340dcae5a..ae82f6a4be2 100644 --- a/regress/lib/libm/floor/Makefile +++ b/regress/lib/libm/floor/Makefile @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile,v 1.1 2003/11/01 00:50:44 mickey Exp $ +# $OpenBSD: Makefile,v 1.2 2023/01/27 16:39:22 miod Exp $ PROG=floor LDADD=-lm DPADD=${LIBM} +CFLAGS+= -fno-builtin .include diff --git a/regress/lib/libm/fpaccuracy/Makefile b/regress/lib/libm/fpaccuracy/Makefile index a83b1a17051..33153762ea0 100644 --- a/regress/lib/libm/fpaccuracy/Makefile +++ b/regress/lib/libm/fpaccuracy/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2018/03/10 20:52:58 kettenis Exp $ +# $OpenBSD: Makefile,v 1.3 2023/01/27 16:39:22 miod Exp $ PROG = fpaccuracy SRCS = Gamma.c INV.c Pix.c acos.c acosh.c asin.c asinh.c atan.c \ @@ -7,6 +7,7 @@ SRCS = Gamma.c INV.c Pix.c acos.c acosh.c asin.c asinh.c atan.c \ sincos.c sincos2.c sinh.c sqrt.c tan.c tanh.c y0.c y1.c LDADD = -lm DPADD = ${LIBM} +CFLAGS+= -fno-builtin CLEANFILES += fpaccuracy.out .include diff --git a/regress/lib/libm/lgamma/Makefile b/regress/lib/libm/lgamma/Makefile index 73a73725336..59fb0eb0e31 100644 --- a/regress/lib/libm/lgamma/Makefile +++ b/regress/lib/libm/lgamma/Makefile @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile,v 1.1 2011/05/28 22:38:06 martynas Exp $ +# $OpenBSD: Makefile,v 1.2 2023/01/27 16:39:22 miod Exp $ PROG=lgamma LDADD=-lm DPADD=${LIBM} +CFLAGS+= -fno-builtin .include diff --git a/regress/lib/libm/nextafter/Makefile b/regress/lib/libm/nextafter/Makefile index 1f272188d79..59d8503ee0e 100644 --- a/regress/lib/libm/nextafter/Makefile +++ b/regress/lib/libm/nextafter/Makefile @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile,v 1.1 2011/04/16 20:41:23 martynas Exp $ +# $OpenBSD: Makefile,v 1.2 2023/01/27 16:39:22 miod Exp $ PROG=nextafter LDADD=-lm DPADD=${LIBM} +CFLAGS+= -fno-builtin .include diff --git a/regress/lib/libm/rint/Makefile b/regress/lib/libm/rint/Makefile index 0b3c1e76ea9..fff7de9be1b 100644 --- a/regress/lib/libm/rint/Makefile +++ b/regress/lib/libm/rint/Makefile @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile,v 1.1 2003/02/12 07:05:34 mickey Exp $ +# $OpenBSD: Makefile,v 1.2 2023/01/27 16:39:22 miod Exp $ PROG=rint LDADD=-lm DPADD=${LIBM} +CFLAGS+= -fno-builtin .include diff --git a/regress/lib/libm/round/Makefile b/regress/lib/libm/round/Makefile index c2913456f16..a51bda12a3a 100644 --- a/regress/lib/libm/round/Makefile +++ b/regress/lib/libm/round/Makefile @@ -1,7 +1,8 @@ -# $OpenBSD: Makefile,v 1.1 2011/04/17 10:33:09 martynas Exp $ +# $OpenBSD: Makefile,v 1.2 2023/01/27 16:39:22 miod Exp $ PROG=round LDADD=-lm DPADD=${LIBM} +CFLAGS+= -fno-builtin .include diff --git a/regress/lib/libm/tgamma/Makefile b/regress/lib/libm/tgamma/Makefile index b8ec38ca4a3..e7eb5c7d778 100644 --- a/regress/lib/libm/tgamma/Makefile +++ b/regress/lib/libm/tgamma/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.1 2008/06/11 15:07:34 martynas Exp $ +# $OpenBSD: Makefile,v 1.2 2023/01/27 16:39:22 miod Exp $ PROG=tgamma LDADD=-lm DPADD=${LIBM} +CFLAGS+= -fno-builtin .include