diff options
author | das <das@FreeBSD.org> | 2013-05-27 08:50:10 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2013-05-27 08:50:10 +0000 |
commit | e7b0a63c190c7ecb475b09f41387a75952540f49 (patch) | |
tree | fe26b077920f74a021643eb895e508cd1a90d404 /lib/msun/Makefile | |
parent | e97a0dc9656bc3f5214866731094513064e59725 (diff) | |
download | FreeBSD-src-e7b0a63c190c7ecb475b09f41387a75952540f49.zip FreeBSD-src-e7b0a63c190c7ecb475b09f41387a75952540f49.tar.gz |
Fix some regressions caused by the switch from gcc to clang. The fixes
are workarounds for various symptoms of the problem described in clang
bugs 3929, 8100, 8241, 10409, and 12958.
The regression tests did their job: they failed, someone brought it
up on the mailing lists, and then the issue got ignored for 6 months.
Oops. There may still be some regressions for functions we don't have
test coverage for yet.
Diffstat (limited to 'lib/msun/Makefile')
-rw-r--r-- | lib/msun/Makefile | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/msun/Makefile b/lib/msun/Makefile index fdb5e2b..86881d2 100644 --- a/lib/msun/Makefile +++ b/lib/msun/Makefile @@ -121,12 +121,6 @@ COMMON_SRCS:= ${COMMON_SRCS:N${i:R}.c} .endfor .endif -# Some files need certain gcc built-in functions to be disabled, since gcc's -# model of the functions bogusly assumes -fno-trapping-math. -XRINT_CFLAGS= -fno-builtin-rint -fno-builtin-rintf -fno-builtin-rintl -CFLAGS+= ${XRINT_CFLAGS} -XRINT_CFLAGS:= ${.IMPSRC:M*/s_nearbyint.c:C/^.+$/${XRINT_CFLAGS}/:C/^$//} - SRCS= ${COMMON_SRCS} ${ARCH_SRCS} INCS+= fenv.h math.h |