From 0af88b7eaea295debd7e17720aa05323c8c487df Mon Sep 17 00:00:00 2001 From: eadler Date: Thu, 6 Dec 2012 01:31:25 +0000 Subject: 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 Reviewed by: imp, toolchain@ Approved by: cperciva MFC after: 2 weeks --- contrib/gcc/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/gcc') 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' -- cgit v1.1