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 | |
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)
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.in | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -20484,7 +20484,7 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool' 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 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 |