summaryrefslogtreecommitdiffstats
path: root/sbin/camcontrol
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-08-23 22:24:11 +0000
committerimp <imp@FreeBSD.org>2010-08-23 22:24:11 +0000
commitc3a399c4ba4528500fec8cd412c88c10c7f637f5 (patch)
tree3fedc9e4d65d62c819fe8818c625211ebbd8ef26 /sbin/camcontrol
parenta1a6e5ff56d4b37557fc8a042de19bfc7560dc8e (diff)
downloadFreeBSD-src-c3a399c4ba4528500fec8cd412c88c10c7f637f5.zip
FreeBSD-src-c3a399c4ba4528500fec8cd412c88c10c7f637f5.tar.gz
MFtbemd:
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
Diffstat (limited to 'sbin/camcontrol')
-rw-r--r--sbin/camcontrol/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/camcontrol/Makefile b/sbin/camcontrol/Makefile
index 31bbd46..877e332 100644
--- a/sbin/camcontrol/Makefile
+++ b/sbin/camcontrol/Makefile
@@ -7,7 +7,8 @@ SRCS+= modeedit.c
.else
CFLAGS+= -DMINIMALISTIC
.endif
-.if ${MACHINE_ARCH} == "arm"
+# This is verboten
+.if ${MACHINE_CPUARCH} == "arm"
WARNS?= 3
.endif
DPADD= ${LIBCAM} ${LIBSBUF} ${LIBUTIL}
OpenPOWER on IntegriCloud