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.

(cherry picked from commit 004b5a4f49)
This commit is contained in:
Vadim Zeitlin
2015-07-31 18:59:24 +02:00
committed by Paul Cornett
parent adf521dea2
commit 90cec63a53
2 changed files with 2 additions and 2 deletions

View File

@@ -626,7 +626,7 @@ AC_DEFUN([AC_BAKEFILE_CHECK_BASIC_STUFF],
AC_SUBST(AR) AC_SUBST(AR)
else else
AC_CHECK_TOOL(AR, ar, ar) AC_CHECK_TOOL(AR, ar, ar)
AROPTIONS=rcu AROPTIONS=rc
fi fi
AC_SUBST(AROPTIONS) AC_SUBST(AROPTIONS)

2
configure vendored
View File

@@ -38234,7 +38234,7 @@ else
AR="$ac_cv_prog_AR" AR="$ac_cv_prog_AR"
fi fi
AROPTIONS=rcu AROPTIONS=rc
fi fi