git: 7033fd68f7ef - stable/12 - bootparamd: Fix build with GCC.

Yoshihiro Takahashi nyan at FreeBSD.org
Tue Jan 19 17:42:44 UTC 2021


The branch stable/12 has been updated by nyan:

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

commit 7033fd68f7efbe8d249e2001e58e4e08c403f5bd
Author:     Yoshihiro Takahashi <nyan at FreeBSD.org>
AuthorDate: 2021-01-19 17:41:37 +0000
Commit:     Yoshihiro Takahashi <nyan at 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


More information about the dev-commits-src-branches mailing list