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:
parent
a7c2001059
commit
271e7c594b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=210731
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user