From 1aec5f74bbb3c72971aa2b8317abf735ec1b7051 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 7 Dec 2012 12:43:06 -0600 Subject: alpha: Avoid builtin warning for isnanf --- ports/ChangeLog.alpha | 5 +++++ ports/sysdeps/alpha/Makefile | 2 ++ 2 files changed, 7 insertions(+) (limited to 'ports') diff --git a/ports/ChangeLog.alpha b/ports/ChangeLog.alpha index 210453b..21a4f12 100644 --- a/ports/ChangeLog.alpha +++ b/ports/ChangeLog.alpha @@ -1,3 +1,8 @@ +2012-12-07 Richard Henderson + + * sysdeps/alpha/Makefile [$(subdir) = math] + (CFLAGS-s_isnan.c): New variable. + 2012-11-30 Richard Henderson * sysdeps/alpha/fpu/libm-test-ulps: Update. diff --git a/ports/sysdeps/alpha/Makefile b/ports/sysdeps/alpha/Makefile index 1a80db8..4387cb7 100644 --- a/ports/sysdeps/alpha/Makefile +++ b/ports/sysdeps/alpha/Makefile @@ -43,6 +43,8 @@ CFLAGS-s_fma.c = -mieee-with-inexact CFLAGS-s_fmaf.c = -mieee-with-inexact # This test tries to check for inexact being raised by arithmetic. CFLAGS-test-misc.c += -mieee-with-inexact +# Avoid "conflicting types for built-in function" warnings +CFLAGS-s_isnan.c += -fno-builtin-isnanf endif # Build everything with full IEEE math support, and with dynamic rounding; -- cgit v1.1