aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSofian Brabez <sbz@FreeBSD.org>2021-04-20 18:31:48 +0000
committerSofian Brabez <sbz@FreeBSD.org>2021-04-27 17:31:18 +0000
commit447133ecfd2fb6fa065b7ffce14f717777813566 (patch)
treee79ba3bd00ccf896237f21694efca7e47bc517e5
parentd61f10a8780ef94f82e384248ce40d24fc27ad2b (diff)
downloadsrc-447133ecfd2fb6fa065b7ffce14f717777813566.tar.gz
src-447133ecfd2fb6fa065b7ffce14f717777813566.zip
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)
-rw-r--r--tools/tools/net80211/wlanstats/Makefile2
1 files changed, 1 insertions, 1 deletions
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>