projects
/
qemu-gpiodev
/
libgpiod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa8ca6b
)
build: silence an ar warning
author
Bartosz Golaszewski
<bartekgola@gmail.com>
Wed, 13 Sep 2017 08:30:28 +0000
(10:30 +0200)
committer
Bartosz Golaszewski
<bartekgola@gmail.com>
Wed, 13 Sep 2017 08:32:31 +0000
(10:32 +0200)
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 <bartekgola@gmail.com>
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 383cdf14104532c8abb37c98ac88bb255c330de3..5f808bf025c950947689b7f040bd21a4f69e8c2a 100644
(file)
--- 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