From owner-svn-src-head@freebsd.org Tue Mar 21 21:07:39 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 21A31D174AC; Tue, 21 Mar 2017 21:07:39 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2CF11E12; Tue, 21 Mar 2017 21:07:38 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2LL7bTB020477; Tue, 21 Mar 2017 21:07:37 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2LL7bYE020476; Tue, 21 Mar 2017 21:07:37 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201703212107.v2LL7bYE020476@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Tue, 21 Mar 2017 21:07:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r315689 - head/lib/libcompiler_rt X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2017 21:07:39 -0000 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"