diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile index 2fb78ff0dcb2..5c2d38e8c4ec 100644 --- a/lib/libcompiler_rt/Makefile +++ b/lib/libcompiler_rt/Makefile @@ -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"