diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2017-11-15 22:24:59 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2017-11-15 22:24:59 (GMT) |
commit | cb235453a9276c371085e40ea1c87d9b641e511e (patch) | |
tree | 0e85105617af95ca8e5d8532faf19e2272bf3197 /configure.ac | |
parent | bdb4d5653226c030dfb33a6962544c93bf64ed21 (diff) | |
download | hdf5-cb235453a9276c371085e40ea1c87d9b641e511e.zip hdf5-cb235453a9276c371085e40ea1c87d9b641e511e.tar.gz hdf5-cb235453a9276c371085e40ea1c87d9b641e511e.tar.bz2 |
Changed ar to always use -cr instead of the autotools default
of cru.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 50893f7..5562d5c 100644 --- a/configure.ac +++ b/configure.ac @@ -759,12 +759,17 @@ fi ## Check which archiving tool to use. This needs to be done before ## the AM_PROG_LIBTOOL macro. ## - if test -z "$AR"; then AC_CHECK_PROGS([AR], [ar xar], [:], [$PATH]) fi AC_SUBST([AR]) +# Set the default ar flags to cr +# The Automake default is to use cru and the 'u' causes ar +# to emit warnings on some platforms. +AR_FLAGS=cr + + ## Export the AR macro so that it will be placed in the libtool file ## correctly. export AR |