MFC r315689:

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
This commit is contained in:
Dimitry Andric 2017-03-25 12:21:20 +00:00
parent 10ad2f3517
commit a4e9b8e62c

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"