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
This commit is contained in:
Rui Paulo 2010-08-01 12:35:01 +00:00
parent a7c2001059
commit 271e7c594b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=210731

View File

@ -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.