This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch development
in repository libtool.

The following commit(s) were added to refs/heads/development by this push:
     new 18dc06ad ltmain.in: Compiler dependencies wrongly deduplicated
18dc06ad is described below

commit 18dc06ade3db7c4100e781d1c1ef8c5b018ca920
Author: Frédéric Bérat <fbe...@redhat.com>
AuthorDate: Thu Feb 3 16:26:55 2022 +0100

    ltmain.in: Compiler dependencies wrongly deduplicated
    
    Removing duplicate compiler dependencies causes linking problems on
    linux with GCC libraries. This deduplication optimization is no longer
    used for linux hosts.
    
    Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75462
    
    * build-aux/ltmain.in: Add linux to list of hosts that do not remove
      duplicate compiler dependencies.
---
 build-aux/ltmain.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 43cd3b1a..caec9db2 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -589,7 +589,7 @@ libtool_validate_options ()
     case $host_os in
       # Solaris2 added to fix 
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
       # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
-      cygwin* | mingw* | windows* | pw32* | cegcc* | solaris2* | os2*)
+      cygwin* | mingw* | windows* | pw32* | cegcc* | solaris2* | os2* | 
*linux*)
         # don't eliminate duplications in $postdeps and $predeps
         opt_duplicate_compiler_generated_deps=:
         ;;

Reply via email to