Mercurial > octave
changeset 23400:b5ee9b985a82
Silence compile warning about 'u' modifier to ar.
* m4/acinclude.m4: Define AR_FLAGS so that libtool does not use 'cru' as
default flags.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 15 Apr 2017 10:25:53 -0700 |
parents | 5e0350f5e2dd |
children | e0c20a22da7e |
files | m4/acinclude.m4 |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/acinclude.m4 Fri Apr 14 14:00:41 2017 -0400 +++ b/m4/acinclude.m4 Sat Apr 15 10:25:53 2017 -0700 @@ -2298,6 +2298,13 @@ ARFLAGS="rc" fi AC_SUBST(ARFLAGS) + + dnl FIXME: Remove when automake, autotools updated (placed 4/15/2017). + dnl This silences the following unnecessary warning during compile: + dnl ar: `u' modifier ignored since `D' is the default (see `U') + if test -z "$AR_FLAGS"; then + AR_FLAGS="rc" + fi ]) dnl dnl Check for bison.