diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-02-28 20:08:54 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-02-28 20:08:54 (GMT) |
commit | 08bce1b7d2969ccb08ad4ba963ec6f17f57e9728 (patch) | |
tree | 58f058676519499a1b4ae610338e5fee06855915 /configure.in | |
parent | 08df46ab55d8a2f92e19af17ca6264e8406a2a0a (diff) | |
download | hdf5-08bce1b7d2969ccb08ad4ba963ec6f17f57e9728.zip hdf5-08bce1b7d2969ccb08ad4ba963ec6f17f57e9728.tar.gz hdf5-08bce1b7d2969ccb08ad4ba963ec6f17f57e9728.tar.bz2 |
[svn-r10106]
Purpose:
Bug fix
Description:
Libtool 1.5.14 added some extra flags that needed to be passed from the compiler
to the linker. icc did not handle this correctly and complained when it saw
unknown flags.
Solution:
Set the -Wl flag correctly on freebsd so that icc knows to pass flags through
to the linker.
Platforms tested:
sleipnir (gcc, g++, icc, gcc40)
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 6b09d21..bc46aad 100644 --- a/configure.in +++ b/configure.in @@ -459,9 +459,10 @@ AC_PROG_INSTALL AC_LIBTOOL_DLOPEN AM_PROG_LIBTOOL -dnl Post processing to patch up some deficiencies in libtool +dnl Post processing to patch up some deficiencies in libtool (as of +dnl Libtool 1.5.14) case $host_os in - linux*) + linux* | freebsd* ) # If gcc is not used, need to set $wl to use "-Wl," if $CC -v 2>&1 | grep '^gcc' > /dev/null ; then : using gcc |