From: Brice De Bruyne Date: Mon, 20 Dec 2010 03:16:12 +0000 (+0100) Subject: Also turn off -fuse-linker-plugin for postdep_objects computation. X-Git-Tag: v2.4.2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7aabd35c4c78df9c94528c02eae29397bab65987;p=thirdparty%2Flibtool.git 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 --- diff --git a/ChangeLog b/ChangeLog index 3ba947de6..bd5e52d08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2010-12-20 Brice De Bruyne (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 (tiny change) Set command line length limit for OS/2. diff --git a/NEWS b/NEWS index 0aeca5744..8d6965db3 100644 --- a/NEWS +++ b/NEWS @@ -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: diff --git a/THANKS b/THANKS index 5260878d7..637decfbb 100644 --- a/THANKS +++ b/THANKS @@ -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 diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 5e716b2a7..21b12fd87 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -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