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.
This commit is contained in:
parent
270d1a5916
commit
004b5a4f49
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user