libtool-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Libtool branch, master, updated. v2.2.6-139-gc9bbeef


From: Peter Rosin
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.6-139-gc9bbeef
Date: Sat, 05 Sep 2009 09:17:16 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  c9bbeef468f64064e1d50e39c945df929cbc21d8 (commit)
      from  d1de1d4adaadf5b709c646862e7f649bb9179aea (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c9bbeef468f64064e1d50e39c945df929cbc21d8
Author: Peter Rosin <address@hidden>
Date:   Fri Sep 4 22:19:36 2009 +0200

    Make -Wc,FLAG behave like -Xcompiler FLAG in link mode.
    
    * libltdl/config/ltmain.m4sh (func_mode_link): Remove "-Wc,"
    instead of replacing it with "$wl" when linking programs
    through the compiler driver, just as is the case when linking
    libraries.
    * NEWS: Update.
    
    Signed-off-by: Peter Rosin <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |    9 +++++++++
 NEWS                       |    3 +++
 libltdl/config/ltmain.m4sh |    2 +-
 3 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e38a608..9e5d353 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-09-04  Peter Rosin  <address@hidden>
+
+       Make -Wc,FLAG behave like -Xcompiler FLAG in link mode.
+       * libltdl/config/ltmain.m4sh (func_mode_link): Remove "-Wc,"
+       instead of replacing it with "$wl" when linking programs
+       through the compiler driver, just as is the case when linking
+       libraries.
+       * NEWS: Update.
+
 2009-08-23  Lennart Poettering  <address@hidden>  (tiny change)
 
        Shut up prototype warnings with recent GCC and -Wstrict-prototypes.
diff --git a/NEWS b/NEWS
index 15ed32b..d6a35aa 100644
--- a/NEWS
+++ b/NEWS
@@ -43,6 +43,9 @@ New in 2.2.8 2009-??-??: git version 2.2.7a, Libtool team:
     extraction of convenience archives with a lock.
   - The Libtool macro files do not contain instances of __oline__ any more,
     easing merges for configure scripts that are added to version control.
+  - Fix ancient bug where "-Wc," was turned into "$wl" (typically "-Wl,")
+    when using the compiler driver to link programs. Now "-Wc," is stripped
+    just as it is when linking libraries through the compiler driver.
 
 * Miscellaneous changes:
 
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 9e4cfdb..4633ff2 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -4299,7 +4299,7 @@ func_mode_link ()
        for flag in $args; do
          IFS="$save_ifs"
           func_quote_for_eval "$flag"
-         arg="$arg $wl$func_quote_for_eval_result"
+         arg="$arg $func_quote_for_eval_result"
          compiler_flags="$compiler_flags $func_quote_for_eval_result"
        done
        IFS="$save_ifs"


hooks/post-receive
-- 
GNU Libtool




reply via email to

[Prev in Thread] Current Thread [Next in Thread]