summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-11-27 17:54:28 +0000
committeryar <yar@FreeBSD.org>2006-11-27 17:54:28 +0000
commite21ee772767d46fa8faef8564e063971be57cf2a (patch)
tree80d6c0c29b8934faf760b28ef73066620760e597 /usr.bin/systat
parent0ceaba73fc1ee61fbde03d631b1ed00d2fdb89ba (diff)
downloadFreeBSD-src-e21ee772767d46fa8faef8564e063971be57cf2a.zip
FreeBSD-src-e21ee772767d46fa8faef8564e063971be57cf2a.tar.gz
systat(1) reaches WARNS=6 on i386 and amd64. This is good
for catching general regressions in future. Unfortunately, it still displays some problems at WARNS=6 on architectures with stricter alignment requirements, e.g., ia64.
Diffstat (limited to 'usr.bin/systat')
-rw-r--r--usr.bin/systat/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/systat/Makefile b/usr.bin/systat/Makefile
index 4f5f229..e4f8c40 100644
--- a/usr.bin/systat/Makefile
+++ b/usr.bin/systat/Makefile
@@ -9,6 +9,10 @@ SRCS= cmds.c cmdtab.c devs.c fetch.c iostat.c keyboard.c main.c \
mode.c ip.c tcp.c \
vmstat.c convtbl.c ifcmds.c ifstat.c
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
+WARNS?= 6
+.endif
+
.if ${MK_INET6_SUPPORT} != "no"
SRCS+= icmp6.c ip6.c
CFLAGS+= -DINET6
OpenPOWER on IntegriCloud