Fix ar 'modifier ignored' build warning

* This only applies to AR_FLAGS and not ARFLAGS.
 * afaik ARFLAGS is the new convetion and this warning is fixed
   upstream in libtool but may be a while before OSes catchup.
This commit is contained in:
Calum Lind 2017-01-14 18:46:54 +00:00 committed by Arvid Norberg
parent 230342df00
commit 2e7f43ba21
1 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,9 @@ AC_CONFIG_MACRO_DIR([m4])
# Silencing build output (automake-1.11)
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
# Change ar argument to 'rc' to silence the warning:
# ar: `u' modifier ignored since `D' is the default (see `U')
m4_divert_text([DEFAULTS], [: "${AR_FLAGS=rc}"])
###############################################################################
dnl ---------------------------------------------------------------------------