Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2017 21:07:37 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315689 - head/lib/libcompiler_rt
Message-ID:  <201703212107.v2LL7bYE020476@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Tue Mar 21 21:07:37 2017
New Revision: 315689
URL: https://svnweb.freebsd.org/changeset/base/315689

Log:
  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

Modified:
  head/lib/libcompiler_rt/Makefile

Modified: head/lib/libcompiler_rt/Makefile
==============================================================================
--- head/lib/libcompiler_rt/Makefile	Tue Mar 21 20:48:36 2017	(r315688)
+++ head/lib/libcompiler_rt/Makefile	Tue Mar 21 21:07:37 2017	(r315689)
@@ -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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703212107.v2LL7bYE020476>