git: 2414241b0e56 - stable/12 - wlanstats: fix build
Sofian Brabez
sbz at FreeBSD.org
Tue Apr 27 17:37:09 UTC 2021
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 at FreeBSD.org>
AuthorDate: 2021-04-20 18:31:48 +0000
Commit: Sofian Brabez <sbz at 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>
More information about the dev-commits-src-branches
mailing list