From owner-svn-src-all@freebsd.org Sun Sep 22 22:24:02 2019 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5637D12E524; Sun, 22 Sep 2019 22:24:02 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46c26p1YqMz4K40; Sun, 22 Sep 2019 22:24:01 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-pl1-f169.google.com with SMTP id q15so5613239pll.11; Sun, 22 Sep 2019 15:24:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=kuzWQ55VsMjj0WgJyrVZGLh7tK+vgmthK2UzKL6sGKg=; b=EDvOIMYvwIMiqxRqvL4Iyd7PTrU0RrcSHn1evdTYbRbakpYOuoKXc7Go5UYEyXwPTf tQRZ73ZooMQaFkJlq7rXMRnyNdNogft1GU8CRorzDlYGhQcwN+tniftxd2S1hnVZDPf1 8osS1VihhMftW/jNdf1HNwCfBsAAit6aDuNvdK2S+JlL/B87vWUbiNPvV6XeobQ0iNGH xzS1eqcrFuLfF0k/mmZ02fcjLGYUgd9pFh+fWCjl3kBCu4YeJ2UV+S64muQiImYA+Wie 1AVX3T1LjYvbiWOm4kH2Tc2enpqD39/zQtpYr1l1L0FenEZuYcDZgMiCc04iLVJPF4br hC1w== X-Gm-Message-State: APjAAAVJXyO8oKeyD4nG6lRJ731aQIAmCkythKhZ0F0gJvKsqQ2X5SgD UiZ0lD3RkZnRCi5VSCAid6h/hDQY X-Google-Smtp-Source: APXvYqwtERmyLG+mlLIrYbS4GP+LIx/4qPATjL4csHeZHrWtyVKvan2MTkrK/E8vO45rfPq2R9byVw== X-Received: by 2002:a17:902:b582:: with SMTP id a2mr28606522pls.92.1569191039904; Sun, 22 Sep 2019 15:23:59 -0700 (PDT) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com. [209.85.210.169]) by smtp.gmail.com with ESMTPSA id 16sm9627810pfi.55.2019.09.22.15.23.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 22 Sep 2019 15:23:59 -0700 (PDT) Received: by mail-pf1-f169.google.com with SMTP id q21so7843704pfn.11; Sun, 22 Sep 2019 15:23:59 -0700 (PDT) X-Received: by 2002:a63:fc60:: with SMTP id r32mr27168249pgk.160.1569191039385; Sun, 22 Sep 2019 15:23:59 -0700 (PDT) MIME-Version: 1.0 References: <201909221827.x8MIRvFM014001@repo.freebsd.org> In-Reply-To: <201909221827.x8MIRvFM014001@repo.freebsd.org> Reply-To: cem@freebsd.org From: Conrad Meyer Date: Sun, 22 Sep 2019 15:23:48 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r352603 - head/sys/conf To: Kyle Evans Cc: src-committers , svn-src-all , svn-src-head Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 46c26p1YqMz4K40 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Sep 2019 22:24:02 -0000 Thanks! The more granular we can be about disabling specific warnings for specific compilers and/or files, the less we lose out on by disabling more broadly. On Sun, Sep 22, 2019 at 11:28 AM Kyle Evans wrote: > > Author: kevans > Date: Sun Sep 22 18:27:57 2019 > New Revision: 352603 > URL: https://svnweb.freebsd.org/changeset/base/352603 > > Log: > Honor CWARNFLAGS.clang/gcc in the kernel build > > Some kernel builds or users may want to disable warnings on a per-compiler > basis, so do this now. > > Modified: > head/sys/conf/kern.mk > > Modified: head/sys/conf/kern.mk > ============================================================================== > --- head/sys/conf/kern.mk Sun Sep 22 18:07:52 2019 (r352602) > +++ head/sys/conf/kern.mk Sun Sep 22 18:27:57 2019 (r352603) > @@ -253,6 +253,7 @@ CFLAGS+= -gdwarf-2 > .endif > > CFLAGS+= ${CWARNFLAGS:M*} ${CWARNFLAGS.${.IMPSRC:T}} > +CFLAGS+= ${CWARNFLAGS.${COMPILER_TYPE}} > CFLAGS+= ${CFLAGS.${COMPILER_TYPE}} ${CFLAGS.${.IMPSRC:T}} > > # Tell bmake not to mistake standard targets for things to be searched for