From: Richard Henderson Date: Fri, 7 Dec 2012 18:43:06 +0000 (-0600) Subject: alpha: Avoid builtin warning for isnanf X-Git-Tag: glibc-2.17~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1aec5f74bbb3c72971aa2b8317abf735ec1b7051;p=thirdparty%2Fglibc.git alpha: Avoid builtin warning for isnanf --- diff --git a/ports/ChangeLog.alpha b/ports/ChangeLog.alpha index 210453b9238..21a4f12cb4b 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 1a80db8dcc6..4387cb719a3 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;