summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-02-28 20:08:54 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-02-28 20:08:54 (GMT)
commit08bce1b7d2969ccb08ad4ba963ec6f17f57e9728 (patch)
tree58f058676519499a1b4ae610338e5fee06855915
parent08df46ab55d8a2f92e19af17ca6264e8406a2a0a (diff)
downloadhdf5-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-xconfigure2
-rw-r--r--configure.in5
2 files changed, 4 insertions, 3 deletions
diff --git a/configure b/configure
index fc58a29..810a79d 100755
--- a/configure
+++ b/configure
@@ -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