From 08bce1b7d2969ccb08ad4ba963ec6f17f57e9728 Mon Sep 17 00:00:00 2001 From: James Laird Date: Mon, 28 Feb 2005 15:08:54 -0500 Subject: [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) --- configure | 2 +- configure.in | 5 +++-- 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 -- cgit v0.12