From 8e61693f298386582cb9f08d78797aa239802a52 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 11 Nov 2013 19:26:59 -0800 Subject: [PATCH] Bug 569597 - Eliminate use of ranlib. r=glandium --- config/rules.mk | 3 --- configure.in | 2 +- js/src/config/rules.mk | 3 --- js/src/configure.in | 2 +- 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/config/rules.mk b/config/rules.mk index 3702111a7e73..42d10170b03b 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -883,7 +883,6 @@ $(filter %.$(LIB_SUFFIX),$(LIBRARY)): $(OBJS) $(EXTRA_DEPS) $(GLOBAL_DEPS) $(REPORT_BUILD) $(RM) $(LIBRARY) $(EXPAND_AR) $(AR_FLAGS) $(OBJS) $(SHARED_LIBRARY_LIBS) - $(RANLIB) $@ $(filter-out %.$(LIB_SUFFIX),$(LIBRARY)): $(filter %.$(LIB_SUFFIX),$(LIBRARY)) $(OBJS) $(EXTRA_DEPS) $(GLOBAL_DEPS) # When we only build a library descriptor, blow out any existing library @@ -917,14 +916,12 @@ $(IMPORT_LIBRARY): $(SHARED_LIBRARY) $(REPORT_BUILD) $(RM) $@ $(IMPLIB) $@ $^ - $(RANLIB) $@ endif # OS/2 $(HOST_LIBRARY): $(HOST_OBJS) Makefile $(REPORT_BUILD) $(RM) $@ $(EXPAND_LIBS_EXEC) --extract -- $(HOST_AR) $(HOST_AR_FLAGS) $(HOST_OBJS) - $(HOST_RANLIB) $@ ifdef HAVE_DTRACE ifndef XP_MACOSX diff --git a/configure.in b/configure.in index d3826321fcfa..048f99023ac1 100644 --- a/configure.in +++ b/configure.in @@ -306,7 +306,7 @@ dnl to use the cross-compile setup for now dnl ======================================================== dnl AR_FLAGS set here so HOST_AR_FLAGS can be set correctly (see bug 538269) -AR_FLAGS='cr $@' +AR_FLAGS='crs $@' if test "$COMPILE_ENVIRONMENT"; then diff --git a/js/src/config/rules.mk b/js/src/config/rules.mk index 3702111a7e73..42d10170b03b 100644 --- a/js/src/config/rules.mk +++ b/js/src/config/rules.mk @@ -883,7 +883,6 @@ $(filter %.$(LIB_SUFFIX),$(LIBRARY)): $(OBJS) $(EXTRA_DEPS) $(GLOBAL_DEPS) $(REPORT_BUILD) $(RM) $(LIBRARY) $(EXPAND_AR) $(AR_FLAGS) $(OBJS) $(SHARED_LIBRARY_LIBS) - $(RANLIB) $@ $(filter-out %.$(LIB_SUFFIX),$(LIBRARY)): $(filter %.$(LIB_SUFFIX),$(LIBRARY)) $(OBJS) $(EXTRA_DEPS) $(GLOBAL_DEPS) # When we only build a library descriptor, blow out any existing library @@ -917,14 +916,12 @@ $(IMPORT_LIBRARY): $(SHARED_LIBRARY) $(REPORT_BUILD) $(RM) $@ $(IMPLIB) $@ $^ - $(RANLIB) $@ endif # OS/2 $(HOST_LIBRARY): $(HOST_OBJS) Makefile $(REPORT_BUILD) $(RM) $@ $(EXPAND_LIBS_EXEC) --extract -- $(HOST_AR) $(HOST_AR_FLAGS) $(HOST_OBJS) - $(HOST_RANLIB) $@ ifdef HAVE_DTRACE ifndef XP_MACOSX diff --git a/js/src/configure.in b/js/src/configure.in index f065f5a4466b..bb900b5b8c3b 100644 --- a/js/src/configure.in +++ b/js/src/configure.in @@ -284,7 +284,7 @@ dnl to use the cross-compile setup for now dnl ======================================================== dnl AR_FLAGS set here so HOST_AR_FLAGS can be set correctly (see bug 538269) -AR_FLAGS='cr $@' +AR_FLAGS='crs $@' if test "$COMPILE_ENVIRONMENT"; then