summaryrefslogtreecommitdiffstats
path: root/lib/msun/src
diff options
context:
space:
mode:
authorkargl <kargl@FreeBSD.org>2013-11-07 21:20:34 +0000
committerkargl <kargl@FreeBSD.org>2013-11-07 21:20:34 +0000
commitc4085f9965cd541f26a68d5fb70c43238a3811b6 (patch)
tree19c2fa3dadc3a2970e3fd68102174442ba4853bd /lib/msun/src
parent1d85ee309f222d25657f4a5721f77649ba57b21a (diff)
downloadFreeBSD-src-c4085f9965cd541f26a68d5fb70c43238a3811b6.zip
FreeBSD-src-c4085f9965cd541f26a68d5fb70c43238a3811b6.tar.gz
Fix bulding libm on platforms with LDBL_MANT_DIG == 53.
Reported by: ian
Diffstat (limited to 'lib/msun/src')
-rw-r--r--lib/msun/src/s_round.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/msun/src/s_round.c b/lib/msun/src/s_round.c
index 8fd407d..efe5029 100644
--- a/lib/msun/src/s_round.c
+++ b/lib/msun/src/s_round.c
@@ -52,3 +52,7 @@ round(double x)
return (-t);
}
}
+
+#if (LDBL_MANT_DIG == 53)
+__weak_reference(round, roundl);
+#endif
OpenPOWER on IntegriCloud