Author: rpaulo Date: Sun Aug 1 12:35:01 2010 New Revision: 210731 URL: http://svn.freebsd.org/changeset/base/210731
Log: Disable all warnings when building gdtoa. This allows building libc with clang. 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 andric.com> Discussed with: das Modified: head/lib/libc/Makefile 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 <bsd.lib.mk> # 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. _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"