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:
Vadim Zeitlin 2015-07-31 18:59:24 +02:00
parent 270d1a5916
commit 004b5a4f49
2 changed files with 2 additions and 2 deletions

View File

@ -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)

2
configure vendored
View File

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