summaryrefslogtreecommitdiffstats
path: root/crypto/openssl
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-12-06 01:31:25 +0000
committereadler <eadler@FreeBSD.org>2012-12-06 01:31:25 +0000
commit0af88b7eaea295debd7e17720aa05323c8c487df (patch)
tree0ea47815d0d8b0a032fb3b1984970cc51a946957 /crypto/openssl
parentd63ec4c24b02575838256ea35e13bf20df348995 (diff)
downloadFreeBSD-src-0af88b7eaea295debd7e17720aa05323c8c487df.zip
FreeBSD-src-0af88b7eaea295debd7e17720aa05323c8c487df.tar.gz
Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in
share/mk/sys.mk instead. This is part of a medium term project to permit deterministic builds of FreeBSD. Submitted by: Erik Cederstrand <erik@cederstrand.dk> Reviewed by: imp, toolchain@ Approved by: cperciva MFC after: 2 weeks
Diffstat (limited to 'crypto/openssl')
-rw-r--r--crypto/openssl/Makefile.org4
-rw-r--r--crypto/openssl/crypto/Makefile3
2 files changed, 4 insertions, 3 deletions
diff --git a/crypto/openssl/Makefile.org b/crypto/openssl/Makefile.org
index 55273ea..87153b8 100644
--- a/crypto/openssl/Makefile.org
+++ b/crypto/openssl/Makefile.org
@@ -63,8 +63,8 @@ DEPFLAG=
PEX_LIBS=
EX_LIBS=
EXE_EXT=
-ARFLAGS=
-AR=ar $(ARFLAGS) r
+ARFLAGS?= r
+AR=ar $(ARFLAGS)
RANLIB= ranlib
NM= nm
PERL= perl
diff --git a/crypto/openssl/crypto/Makefile b/crypto/openssl/crypto/Makefile
index 947dd5d..03b708b 100644
--- a/crypto/openssl/crypto/Makefile
+++ b/crypto/openssl/crypto/Makefile
@@ -13,7 +13,8 @@ MAKEDEPPROG= makedepend
MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
MAKEFILE= Makefile
RM= rm -f
-AR= ar r
+ARFLAGS?= r
+AR= ar ${ARFLAGS}
RECURSIVE_MAKE= [ -n "$(SDIRS)" ] && for i in $(SDIRS) ; do \
(cd $$i && echo "making $$target in $(DIR)/$$i..." && \
OpenPOWER on IntegriCloud