git: 447133ecfd2f - stable/13 - wlanstats: fix build

Sofian Brabez sbz at FreeBSD.org
Tue Apr 27 17:35:44 UTC 2021


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 at FreeBSD.org>
AuthorDate: 2021-04-20 18:31:48 +0000
Commit:     Sofian Brabez <sbz at 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>


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