mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
Merge pull request #782 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:ar_fix to develop
* commit 'cb235453a9276c371085e40ea1c87d9b641e511e': Changed ar to always use -cr instead of the autotools default of cru.
This commit is contained in:
commit
dc487ebad8
@ -30,11 +30,6 @@ if test -z "$CC"; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Set flags for gnu ar (apparently via libtool, so AR_FLAGS, not ARFLAGS)
|
||||
# If you don't do this, you will get warnings about the 'u' in
|
||||
# automake's default 'cru' args.
|
||||
AR_FLAGS=crD
|
||||
|
||||
# Figure out GNU C compiler flags
|
||||
. $srcdir/config/gnu-flags
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user