summaryrefslogtreecommitdiffstats
path: root/sbin
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
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')
-rw-r--r--sbin/atm/atm/Makefile5
-rw-r--r--sbin/atm/atmconfig/Makefile5
-rw-r--r--sbin/atm/ilmid/Makefile5
-rw-r--r--sbin/camcontrol/Makefile4
4 files changed, 19 insertions, 0 deletions
diff --git a/sbin/atm/atm/Makefile b/sbin/atm/atm/Makefile
index df5db86..973e5cc 100644
--- a/sbin/atm/atm/Makefile
+++ b/sbin/atm/atm/Makefile
@@ -28,7 +28,12 @@ SRCS= atm.c atm_fore200.c atm_inet.c atm_print.c \
atm_set.c atm_show.c atm_subr.c
MAN= atm.8
+.if ${MACHINE_ARCH} == "arm"
+WARNS?= 3
+.else
WARNS?= 6
+.endif
+
CFLAGS+= -I${.CURDIR}/../../../sys
DPADD= ${LIBATM}
diff --git a/sbin/atm/atmconfig/Makefile b/sbin/atm/atmconfig/Makefile
index ddbee80..40134fc 100644
--- a/sbin/atm/atmconfig/Makefile
+++ b/sbin/atm/atmconfig/Makefile
@@ -8,7 +8,12 @@
PROG= atmconfig
SRCS= main.c diag.c natm.c
MAN= atmconfig.8
+
+.if ${MACHINE_ARCH} == "arm"
+WARNS?= 3
+.else
WARNS?= 9
+.endif
FILES= atmconfig.help
FILESDIR= /usr/share/doc/atm
diff --git a/sbin/atm/ilmid/Makefile b/sbin/atm/ilmid/Makefile
index cfd0270..67d9bab 100644
--- a/sbin/atm/ilmid/Makefile
+++ b/sbin/atm/ilmid/Makefile
@@ -26,7 +26,12 @@
PROG= ilmid
MAN= ilmid.8
+.if ${MACHINE_ARCH} == "arm"
+WARNS?= 3
+.else
WARNS?= 6
+.endif
+
CFLAGS+= -I${.CURDIR}/../../../sys
DPADD= ${LIBATM}
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