summaryrefslogtreecommitdiffstats
path: root/libtool.m4
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2009-09-08 17:43:37 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2009-09-08 17:43:37 +0000
commit713e2ea6b6e3016e04c6e750828cd8f1e0bf1d0b (patch)
tree878002ca34a4d43410b16d015ab99f9e940c3ed6 /libtool.m4
parentre PR debug/41229 (VTA: internal compiler error: verify_ssa failed) (diff)
downloadgcc-713e2ea6b6e3016e04c6e750828cd8f1e0bf1d0b.tar.gz
gcc-713e2ea6b6e3016e04c6e750828cd8f1e0bf1d0b.tar.bz2
gcc-713e2ea6b6e3016e04c6e750828cd8f1e0bf1d0b.tar.xz
libtool.m4 (output_verbose_link_cmd): Require leading blank, and blank before -L.
ChangeLog: * libtool.m4 (output_verbose_link_cmd): Require leading blank, and blank before -L. gcc/ChangeLog: * configure: Rebuilt with modified libtool.m4. libstdc++-v3/ChangeLog: * configure: Rebuilt with modified libtool.m4. boehm-gc/ChangeLog: * configure: Rebuilt with modified libtool.m4. libjava/ChangeLog: * configure: Rebuilt with modified libtool.m4. From-SVN: r151522
Diffstat (limited to 'libtool.m4')
-rw-r--r--libtool.m412
1 files changed, 6 insertions, 6 deletions
diff --git a/libtool.m4 b/libtool.m4
index c17514b9260..12d45a5a8a5 100644
--- a/libtool.m4
+++ b/libtool.m4
@@ -5471,7 +5471,7 @@ if test "$_lt_caught_CXX_error" != yes; then
5471 # Commands to make compiler produce verbose output that lists 5471 # Commands to make compiler produce verbose output that lists
5472 # what "hidden" libraries, object files and flags are used when 5472 # what "hidden" libraries, object files and flags are used when
5473 # linking a shared library. 5473 # linking a shared library.
5474 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 5474 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
5475 5475
5476 else 5476 else
5477 GXX=no 5477 GXX=no
@@ -5716,7 +5716,7 @@ if test "$_lt_caught_CXX_error" != yes; then
5716 # explicitly linking system object files so we need to strip them 5716 # explicitly linking system object files so we need to strip them
5717 # from the output so that they don't get included in the library 5717 # from the output so that they don't get included in the library
5718 # dependencies. 5718 # dependencies.
5719 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 5719 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "^ .* -L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
5720 ;; 5720 ;;
5721 *) 5721 *)
5722 if test "$GXX" = yes; then 5722 if test "$GXX" = yes; then
@@ -5781,7 +5781,7 @@ if test "$_lt_caught_CXX_error" != yes; then
5781 # explicitly linking system object files so we need to strip them 5781 # explicitly linking system object files so we need to strip them
5782 # from the output so that they don't get included in the library 5782 # from the output so that they don't get included in the library
5783 # dependencies. 5783 # dependencies.
5784 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' 5784 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "^ .* -L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
5785 ;; 5785 ;;
5786 *) 5786 *)
5787 if test "$GXX" = yes; then 5787 if test "$GXX" = yes; then
@@ -6125,7 +6125,7 @@ if test "$_lt_caught_CXX_error" != yes; then
6125 # Commands to make compiler produce verbose output that lists 6125 # Commands to make compiler produce verbose output that lists
6126 # what "hidden" libraries, object files and flags are used when 6126 # what "hidden" libraries, object files and flags are used when
6127 # linking a shared library. 6127 # linking a shared library.
6128 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 6128 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
6129 6129
6130 else 6130 else
6131 # FIXME: insert proper C++ library support 6131 # FIXME: insert proper C++ library support
@@ -6209,7 +6209,7 @@ if test "$_lt_caught_CXX_error" != yes; then
6209 # Commands to make compiler produce verbose output that lists 6209 # Commands to make compiler produce verbose output that lists
6210 # what "hidden" libraries, object files and flags are used when 6210 # what "hidden" libraries, object files and flags are used when
6211 # linking a shared library. 6211 # linking a shared library.
6212 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 6212 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
6213 else 6213 else
6214 # g++ 2.7 appears to require `-G' NOT `-shared' on this 6214 # g++ 2.7 appears to require `-G' NOT `-shared' on this
6215 # platform. 6215 # platform.
@@ -6220,7 +6220,7 @@ if test "$_lt_caught_CXX_error" != yes; then
6220 # Commands to make compiler produce verbose output that lists 6220 # Commands to make compiler produce verbose output that lists
6221 # what "hidden" libraries, object files and flags are used when 6221 # what "hidden" libraries, object files and flags are used when
6222 # linking a shared library. 6222 # linking a shared library.
6223 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' 6223 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "^ .* -L"'
6224 fi 6224 fi
6225 6225
6226 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' 6226 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'