summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/pax/Makefile4
-rw-r--r--lib/libarchive/Makefile4
-rw-r--r--lib/libarchive/Makefile.freebsd4
-rw-r--r--lib/libatm/Makefile5
-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
8 files changed, 36 insertions, 0 deletions
diff --git a/bin/pax/Makefile b/bin/pax/Makefile
index f142bfc..de76e6c 100644
--- a/bin/pax/Makefile
+++ b/bin/pax/Makefile
@@ -33,4 +33,8 @@ SRCS= ar_io.c ar_subs.c buf_subs.c cache.c cpio.c file_subs.c ftree.c \
#MAN= pax.1 tar.1 cpio.1
#LINKS= ${BINDIR}/pax ${BINDIR}/tar ${BINDIR}/pax ${BINDIR}/cpio
+.if ${MACHINE_ARCH} == "arm"
+WARNS?= 3
+.endif
+
.include <bsd.prog.mk>
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile
index f5c56db..9a86d07 100644
--- a/lib/libarchive/Makefile
+++ b/lib/libarchive/Makefile
@@ -3,7 +3,11 @@
LIB= archive
SHLIB_MAJOR= 1
+.if ${MACHINE_ARCH} == "arm"
+WARNS?= 3
+.else
WARNS?= 6
+.endif
# I'm not yet ready for a shared version of this library, as
# there are a couple of API changes still in the works.
diff --git a/lib/libarchive/Makefile.freebsd b/lib/libarchive/Makefile.freebsd
index f5c56db..9a86d07 100644
--- a/lib/libarchive/Makefile.freebsd
+++ b/lib/libarchive/Makefile.freebsd
@@ -3,7 +3,11 @@
LIB= archive
SHLIB_MAJOR= 1
+.if ${MACHINE_ARCH} == "arm"
+WARNS?= 3
+.else
WARNS?= 6
+.endif
# I'm not yet ready for a shared version of this library, as
# there are a couple of API changes still in the works.
diff --git a/lib/libatm/Makefile b/lib/libatm/Makefile
index 89d1ef4..c7b335e 100644
--- a/lib/libatm/Makefile
+++ b/lib/libatm/Makefile
@@ -30,6 +30,11 @@ INCS= libatm.h
LDADD= -lmd
DPADD= ${LIBMD}
+
+.if ${MACHINE_ARCH} == "arm"
+WARNS?= 3
+.else
WARNS?= 6
+.endif
.include <bsd.lib.mk>
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