From: Bartosz Golaszewski Date: Wed, 13 Sep 2017 08:30:28 +0000 (+0200) Subject: build: silence an ar warning X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8e1401129f299af968e87680e43f8b6025d31a86;p=qemu-gpiodev%2Flibgpiod.git build: silence an ar warning In some configurations ar prints the following warnings: ar: `u' modifier ignored since `D' is the default (see `U') Silence it by setting the ar flags to 'cr' instead of 'cru' which is the default. Signed-off-by: Bartosz Golaszewski --- diff --git a/configure.ac b/configure.ac index 383cdf1..5f808bf 100644 --- a/configure.ac +++ b/configure.ac @@ -27,6 +27,9 @@ AC_CONFIG_HEADER([config.h]) AC_DEFINE([_GNU_SOURCE], [], [We want GNU extensions]) +# Silence warning: ar: 'u' modifier ignored since 'D' is the default +AC_SUBST(AR_FLAGS, [cr]) + AM_PROG_AR AC_PROG_CC AC_PROG_LIBTOOL