]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Also turn off -fuse-linker-plugin for postdep_objects computation.
authorBrice De Bruyne <bricedb@gmail.com>
Mon, 20 Dec 2010 03:16:12 +0000 (04:16 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 20 Dec 2010 07:04:57 +0000 (08:04 +0100)
* 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>
ChangeLog
NEWS
THANKS
libltdl/m4/libtool.m4

index 3ba947de668b2516a3ce92eb49ea53b43cdffb68..bd5e52d089fa1b8f3b091aa89e29b6d93a1e48b2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/NEWS b/NEWS
index 0aeca57446a10b3488119fe22680fafb87277f91..8d6965db3089dea680a4ad81e4e5be643a7d7ebd 100644 (file)
--- 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 5260878d713042b68daed75568b62634f1409b37..637decfbbe5a1361009ed011659f4e0f4b702cc1 100644 (file)
--- 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
index 5e716b2a7a92fcddc34c8eeaa19acb2961e463c0..21b12fd87615d94c9726be999c5d75c34f455f72 100644 (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