summaryrefslogtreecommitdiffstats
path: root/lib/libcompiler_rt
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2017-03-25 12:21:20 +0000
committerdim <dim@FreeBSD.org>2017-03-25 12:21:20 +0000
commit6d1eb9b2aaec4ea996b5eeb16b7572206648a5f5 (patch)
treea033bf961efbc5412dae685f4bd62b840215bc46 /lib/libcompiler_rt
parent996b449d78dee5a817ea01f23fb925673b71b5cf (diff)
downloadFreeBSD-src-6d1eb9b2aaec4ea996b5eeb16b7572206648a5f5.zip
FreeBSD-src-6d1eb9b2aaec4ea996b5eeb16b7572206648a5f5.tar.gz
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
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 b0aaa6f..cd45a40 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"
OpenPOWER on IntegriCloud