Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2021 17:35:43 GMT
From:      Sofian Brabez <sbz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 447133ecfd2f - stable/13 - wlanstats: fix build
Message-ID:  <202104271735.13RHZhTV092091@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by sbz (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=447133ecfd2fb6fa065b7ffce14f717777813566

commit 447133ecfd2fb6fa065b7ffce14f717777813566
Author:     Sofian Brabez <sbz@FreeBSD.org>
AuthorDate: 2021-04-20 18:31:48 +0000
Commit:     Sofian Brabez <sbz@FreeBSD.org>
CommitDate: 2021-04-27 17:31:18 +0000

    wlanstats: fix build
    
    Add -Wno-cast-align to the CFLAGS to fix the build of wlanstats
    
    Approved by:    adrian
    MFC after:      1 week
    
    (cherry picked from commit b8be8094958a01255f5430bd6a36ff936bdd53c3)
---
 tools/tools/net80211/wlanstats/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/tools/net80211/wlanstats/Makefile b/tools/tools/net80211/wlanstats/Makefile
index 2d23932a62a5..f4384c6d0709 100644
--- a/tools/tools/net80211/wlanstats/Makefile
+++ b/tools/tools/net80211/wlanstats/Makefile
@@ -10,6 +10,6 @@ CFLAGS+=-I${.CURDIR}/../../../../lib/libbsdstat/
 
 SRCS=	wlanstats.c main.c
 
-CFLAGS.clang+= -fbracket-depth=512
+CFLAGS.clang+= -fbracket-depth=512 -Wno-cast-align
 
 .include <bsd.prog.mk>



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