Turn off all warnings when compiling gdtoa sources.
authorPeter Avalos <pavalos@dragonflybsd.org>
Mon, 31 Jan 2011 07:37:38 +0000 (21:37 -1000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Mon, 31 Jan 2011 07:37:38 +0000 (21:37 -1000)
Obtained-from: FreeBSD

lib/libc/Makefile.inc

index 772b85a..543005d 100644 (file)
@@ -65,4 +65,4 @@ SRCS+=        ${_src}
 .endif
 
 # Disable warnings in contributed sources.
-CWARNFLAGS:=   ${.IMPSRC:Ngdtoa_*.c:C/^.+$/${CWARNFLAGS}/}
+CWARNFLAGS:=   ${.IMPSRC:Ngdtoa_*.c:C/^.+$/${CWARNFLAGS}/:C/^$/-w/}