diff options
| author | Conrad Meyer <cem@FreeBSD.org> | 2018-02-16 04:30:57 +0000 |
|---|---|---|
| committer | Conrad Meyer <cem@FreeBSD.org> | 2018-02-16 04:30:57 +0000 |
| commit | 648905e6292dea4d023cc473b1009025bace0793 (patch) | |
| tree | 9b716ff334d556921b0d55c262870b1385ca0aa1 /usr.sbin | |
| parent | 492494d92fcb954a51c15c890abf44c2f6311be4 (diff) | |
Notes
Diffstat (limited to 'usr.sbin')
| -rw-r--r-- | usr.sbin/trpt/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/trpt/Makefile b/usr.sbin/trpt/Makefile index 33a3d1f81a7f..53c1660f2b25 100644 --- a/usr.sbin/trpt/Makefile +++ b/usr.sbin/trpt/Makefile @@ -8,12 +8,20 @@ MAN= trpt.8 BINGRP= kmem BINMODE= 2555 +.if ${MACHINE_CPUARCH} != "aarch64" && ${MACHINE_CPUARCH} != "amd64" && \ + ${MACHINE_CPUARCH} != "i386" && ${MACHINE_CPUARCH} != "riscv" +WARNS?= 4 +.endif + .if ${MK_INET6_SUPPORT} != "no" CFLAGS+= -DINET6 .endif .include <bsd.prog.mk> +.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ + ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "riscv" # Several included system headers tickle this warning in ways that are # difficult to work around in this program. CFLAGS+= -Wno-missing-variable-declarations +.endif |
