summaryrefslogtreecommitdiff
path: root/lib/libcompiler_rt
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-03-21 21:07:37 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-03-21 21:07:37 +0000
commitd006dde2fdfdf317c2215d0317480f661886a2f9 (patch)
tree3a1a3626e6fbb7a53effb5062ca17e8bd6d07443 /lib/libcompiler_rt
parent0f5425a4fc6a69fafb5fe26b54baeed86e3e3864 (diff)
downloadsrc-test-d006dde2fdfdf317c2215d0317480f661886a2f9.tar.gz
src-test-d006dde2fdfdf317c2215d0317480f661886a2f9.zip
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
Notes
Notes: svn path=/head/; revision=315689
Diffstat (limited to 'lib/libcompiler_rt')
-rw-r--r--lib/libcompiler_rt/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile
index 2fb78ff0dcb26..5c2d38e8c4ec5 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"