Also turn off -fuse-linker-plugin for postdep_objects computation.

* libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Add
-fno-use-linker-plugin to temporary compile flags if necessary,
to fix C++ postdep_objects setting with -flto
-fuse-linker-plugin.
* NEWS, THANKS: Update.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Brice De Bruyne 2010-12-20 04:16:12 +01:00 committed by Ralf Wildenhues
parent e80566abb3
commit 7aabd35c4c
4 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2010-12-20 Brice De Bruyne <bricedb@gmail.com> (tiny change)
Also turn off -fuse-linker-plugin for postdep_objects computation.
* libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Add
-fno-use-linker-plugin to temporary compile flags if necessary,
to fix C++ postdep_objects setting with -flto
-fuse-linker-plugin.
* NEWS, THANKS: Update.
2010-12-20 KO Myung-Hun <komh@chollian.net> (tiny change)
Set command line length limit for OS/2.

2
NEWS
View File

@ -15,6 +15,8 @@ New in 2.4.2 2010-12-??: git version 2.4.1a, Libtool team:
- The bug that leaked developer tool paths into the release tarballs
from ./bootstrap is fixed.
- Improved support for the Cuda Compiler Driver (nvcc) on Darwin.
- For GCC LTO support, the -fuse-linker-plugin switch is now also removed
when computing compiler postdeps.
* Important incompatible changes:

1
THANKS
View File

@ -77,6 +77,7 @@
Brent Leback brent.leback@st.com
Brian Barrett brbarret@osl.iu.edu
Bruno Haible haible@ilog.fr
Brice De Bruyne bricedb@gmail.com
Camilo La Rota camilo.larota@ens-lyon.fr
Carl D. Roth roth@cse.ucsc.edu
Chris Demetriou cgd@google.com

View File

@ -6922,6 +6922,7 @@ _lt_libdeps_save_CFLAGS=$CFLAGS
case "$CC $CFLAGS " in #(
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
esac
dnl Parse the compiler output and extract the necessary