Gcc has incompatible internal declarations for __divtc3 and __multc3 as

defined in compiler-rt, but it has no option to silence its warning, so
make gcc warnings for libcompiler_rt non-fatal.

Noticed by:	lwhsu
MFC after:	3 days
This commit is contained in:
Dimitry Andric 2017-03-21 21:07:37 +00:00
parent 0f5425a4fc
commit d006dde2fd

View File

@ -16,6 +16,10 @@ CFLAGS+= -I${SRCTOP}/contrib/libcxxrt
CWARNFLAGS.gcc_personality_v0.c+= -Wno-typedef-redefinition
.endif
# gcc has incompatible internal declarations for __divtc3 and __multc3, but has
# no option to silence its warning, so make warnings non-fatal.
NO_WERROR.gcc=
.include "Makefile.inc"
.if ${MK_INSTALLLIB} != "no"