From 004b5a4f49edb895a459ad98a00616aa5d303d7c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 31 Jul 2015 18:59:24 +0200 Subject: [PATCH] Don't use "u" option with ar(1). It seems like it was never really needed as we always delete the archive before creating it anyhow and there is no advantage in "updating" it if it doesn't exist. Worse, with recent ar versions (like the one from binutils 2.25 in Debian Sid), using "u" results in a somewhat unclear warning ar: `u' modifier ignored since `D' is the default (see `U') so just get rid of it to avoid the warning. --- build/aclocal/bakefile.m4 | 2 +- configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/aclocal/bakefile.m4 b/build/aclocal/bakefile.m4 index f9194da5b2..669373dc30 100644 --- a/build/aclocal/bakefile.m4 +++ b/build/aclocal/bakefile.m4 @@ -583,7 +583,7 @@ AC_DEFUN([AC_BAKEFILE_CHECK_BASIC_STUFF], AC_SUBST(AR) else AC_CHECK_TOOL(AR, ar, ar) - AROPTIONS=rcu + AROPTIONS=rc fi AC_SUBST(AROPTIONS) diff --git a/configure b/configure index 8ca1986e7f..93340ce7b4 100755 --- a/configure +++ b/configure @@ -38082,7 +38082,7 @@ else AR="$ac_cv_prog_AR" fi - AROPTIONS=rcu + AROPTIONS=rc fi