Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2021 17:37:08 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: 2414241b0e56 - stable/12 - wlanstats: fix build
Message-ID:  <202104271737.13RHb8cN092324@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=2414241b0e56cae959710f13903597f767b53e54

commit 2414241b0e56cae959710f13903597f767b53e54
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:33:42 +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?202104271737.13RHb8cN092324>