summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
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 /contrib/gcc
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 'contrib/gcc')
-rw-r--r--contrib/gcc/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcc/Makefile.in b/contrib/gcc/Makefile.in
index e48d863..0f0ce9b 100644
--- a/contrib/gcc/Makefile.in
+++ b/contrib/gcc/Makefile.in
@@ -238,7 +238,7 @@ BISONFLAGS =
FLEX = @FLEX@
FLEXFLAGS =
AR = @AR@
-AR_FLAGS = rc
+ARFLAGS = @ARFLAGS@
NM = @NM@
RANLIB = @RANLIB@
RANLIB_FLAGS = @ranlib_flags@
@@ -1303,7 +1303,7 @@ compilations: $(BACKEND)
# This archive is strictly for the host.
libbackend.a: $(OBJS@onestep@)
-rm -rf libbackend.a
- $(AR) $(AR_FLAGS) libbackend.a $(OBJS@onestep@)
+ $(AR) $(ARFLAGS) libbackend.a $(OBJS@onestep@)
-$(RANLIB) $(RANLIB_FLAGS) libbackend.a
# We call this executable `xgcc' rather than `gcc'
OpenPOWER on IntegriCloud