summaryrefslogtreecommitdiffstats
path: root/sbin/camcontrol
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2004-05-14 13:31:21 +0000
committercognet <cognet@FreeBSD.org>2004-05-14 13:31:21 +0000
commit797424d85b3c4b00f9953ddaad93922cf5e3c2da (patch)
treea5cedc86448a823feb4223aee5a6146a4b6efbdb /sbin/camcontrol
parentef42bcff58e52be2a608f2888f47e4bc9130155f (diff)
downloadFreeBSD-src-797424d85b3c4b00f9953ddaad93922cf5e3c2da.zip
FreeBSD-src-797424d85b3c4b00f9953ddaad93922cf5e3c2da.tar.gz
Use WARNS?=3 for these in the arm case for now, due to toolchain issues.
Diffstat (limited to 'sbin/camcontrol')
-rw-r--r--sbin/camcontrol/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/camcontrol/Makefile b/sbin/camcontrol/Makefile
index ebc56dd..bf2ba4a 100644
--- a/sbin/camcontrol/Makefile
+++ b/sbin/camcontrol/Makefile
@@ -7,7 +7,11 @@ SRCS+= modeedit.c
.else
CFLAGS+= -DMINIMALISTIC
.endif
+.if ${MACHINE_ARCH} == "arm"
+WARNS?= 3
+.else
WARNS?= 6
+.endif
DPADD= ${LIBCAM} ${LIBSBUF}
LDADD= -lcam -lsbuf
MAN= camcontrol.8
OpenPOWER on IntegriCloud