summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/Makefile.freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libarchive/Makefile.freebsd')
-rw-r--r--lib/libarchive/Makefile.freebsd4
1 files changed, 4 insertions, 0 deletions
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.
OpenPOWER on IntegriCloud