svn commit: r210731 - head/lib/libc

Rui Paulo rpaulo at
Sun Aug 1 12:35:01 UTC 2010

Author: rpaulo
Date: Sun Aug  1 12:35:01 2010
New Revision: 210731

  Disable all warnings when building gdtoa. This allows building libc with
  The general idea is that the vendor will not accept our compilation
  patches and so disabling the warnings is the best way to go as it makes
  future imports bearable.
  Submitted by:	Dimitry Andric <dimitry at>
  Discussed with:	das


Modified: head/lib/libc/Makefile
--- head/lib/libc/Makefile	Sun Aug  1 12:10:32 2010	(r210730)
+++ head/lib/libc/Makefile	Sun Aug  1 12:35:01 2010	(r210731)
@@ -128,7 +128,7 @@ libkern.${MACHINE_ARCH}:: ${KMSRCS}
 .include <>
 # Disable warnings in contributed sources.
-CWARNFLAGS:=	${.IMPSRC:Ngdtoa_*.c:C/^.+$/${CWARNFLAGS}/}
+CWARNFLAGS:=	${.IMPSRC:Ngdtoa_*.c:C/^.+$/${CWARNFLAGS}/:C/^$/-w/}
 # XXX For now, we don't allow libc to be compiled with
 # -fstack-protector-all because it breaks rtld.  We may want to make a librtld
 # in the future to circumvent this.

More information about the svn-src-all mailing list