aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOlivier Houchard <cognet@FreeBSD.org>2004-05-14 13:31:21 +0000
committerOlivier Houchard <cognet@FreeBSD.org>2004-05-14 13:31:21 +0000
commitc1b2de5af0f771d4e9c317442df697a61e929569 (patch)
treea5cedc86448a823feb4223aee5a6146a4b6efbdb /lib
parentcdf6449a9386d492bd79398869b4fad4cbb1a1d1 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libarchive/Makefile4
-rw-r--r--lib/libarchive/Makefile.freebsd4
-rw-r--r--lib/libatm/Makefile5
3 files changed, 13 insertions, 0 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile
index f5c56dbf1f48a..9a86d07ec5ffa 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 f5c56dbf1f48a..9a86d07ec5ffa 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 89d1ef4001e53..c7b335eec4dd1 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>