git: 045a4c108fcf - main - wlanstats: add -Wno-cast-align back for now
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Feb 2025 21:53:22 UTC
The branch main has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=045a4c108fcf4d8d77da0abab0d24f072bd24244
commit 045a4c108fcf4d8d77da0abab0d24f072bd24244
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-02-20 21:40:43 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-02-20 21:53:09 +0000
wlanstats: add -Wno-cast-align back for now
After fixing the obvious build and cast error when moving this from tools
to usr.sbin and removing -Wno-cast-align, re-add it back as at least
powerpc* does not compile without it (amd64, arm64, and i386 were ok).
In general wlanstats may now get a bit more love after 22 years of
being in the tree and being moved at least twice.
But first unbreak things again.
Reported by: mmel, cperciva (weekly snapshots)
Sponsored by: The FreeBSD Foundation
Fixes: 61ce422531805
MFC after: 3 days
---
usr.sbin/wlanstats/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr.sbin/wlanstats/Makefile b/usr.sbin/wlanstats/Makefile
index d6d29dcc57ad..60c56d24700b 100644
--- a/usr.sbin/wlanstats/Makefile
+++ b/usr.sbin/wlanstats/Makefile
@@ -9,6 +9,6 @@ LIBADD= bsdstat
SRCS= main.c \
wlanstats.c
-CFLAGS.clang+= -fbracket-depth=512
+CFLAGS.clang+= -fbracket-depth=512 -Wno-cast-align
.include <bsd.prog.mk>