Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2021 17:42:43 GMT
From:      Yoshihiro Takahashi <nyan@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 7033fd68f7ef - stable/12 - bootparamd: Fix build with GCC.
Message-ID:  <202101191742.10JHghij078125@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by nyan:

URL: https://cgit.FreeBSD.org/src/commit/?id=7033fd68f7efbe8d249e2001e58e4e08c403f5bd

commit 7033fd68f7efbe8d249e2001e58e4e08c403f5bd
Author:     Yoshihiro Takahashi <nyan@FreeBSD.org>
AuthorDate: 2021-01-19 17:41:37 +0000
Commit:     Yoshihiro Takahashi <nyan@FreeBSD.org>
CommitDate: 2021-01-19 17:41:37 +0000

    bootparamd: Fix build with GCC.
    
    Remove CWARNFLAGS for GCC because GCC 4.2.1 does not have
    -Wdiscarded-qualifiers option.
    
    This is direct commit to stable/12.
    
    Pointy hat to:  nyan
---
 usr.sbin/bootparamd/Makefile.inc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/usr.sbin/bootparamd/Makefile.inc b/usr.sbin/bootparamd/Makefile.inc
index de7ed1c2f55c..2ba4149d5ada 100644
--- a/usr.sbin/bootparamd/Makefile.inc
+++ b/usr.sbin/bootparamd/Makefile.inc
@@ -5,4 +5,3 @@ BINDIR?=	/usr/sbin
 
 NO_WCAST_ALIGN=
 CWARNFLAGS.clang+=	-Wno-incompatible-pointer-types-discards-qualifiers
-CWARNFLAGS.gcc+=	-Wno-error=discarded-qualifiers



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