summaryrefslogtreecommitdiffstats
path: root/lib/libarchive
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 /lib/libarchive
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 'lib/libarchive')
-rw-r--r--lib/libarchive/Makefile4
-rw-r--r--lib/libarchive/Makefile.freebsd4
2 files changed, 8 insertions, 0 deletions
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.
OpenPOWER on IntegriCloud