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.4-51-g1b76054


From: Ralf Wildenhues
Subject: [SCM] GNU Libtool branch, master, updated. v2.4-51-g1b76054
Date: Tue, 22 Mar 2011 06:51:42 +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  1b76054f4763a28ae1b01fbeee86ba0c524d1923 (commit)
      from  39f84c6eba7557d73e6dacae3afb40a164c62ba1 (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 1b76054f4763a28ae1b01fbeee86ba0c524d1923
Author: Justin Lecher <address@hidden>
Date:   Mon Mar 14 08:40:50 2011 +0100

    Don't filter OPENMP flags (-openmp & -fopenmp) from linker lines.
    
    If -fopenmp if passed to gcc during linking, it will take care to add all
    necessary libs to link correctly for openmp support. Currently libtool 
filters
    those flags, similar as it was the case with the threading flags. This 
change
    handles the situation for the openmp support similar as before the thread
    support was fixed.
    
    http://lists.gnu.org/archive/html/bug-libtool/2010-12/msg00009.html
    http://lists.gnu.org/archive/html/bug-libtool/2011-03/msg00014.html
    
    * libltdl/config/ltmain.m4sh (func_mode_link): Treat OpenMP
    flags like pthreads flags.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

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

Summary of changes:
 ChangeLog                  |    7 +++++++
 libltdl/config/ltmain.m4sh |    6 ++++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4ed09a3..bc7c2af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-03-22  Justin Lecher  <address@hidden>  (tiny change)
+           Rhys Ulerich  <address@hidden>  (tiny change)
+
+       Don't filter OPENMP flags (-openmp & -fopenmp) from linker lines.
+       * libltdl/config/ltmain.m4sh (func_mode_link): Treat OpenMP
+       flags like pthreads flags.
+
 2011-03-14  Ralf Wildenhues  <address@hidden>
 
        libtoolize: detect -I<dir> (without space) in ACLOCAL_AMFLAGS.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 766777f..9358ec5 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -4865,7 +4865,8 @@ func_mode_link ()
        continue
        ;;
 
-      
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
+      -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
+      |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
        func_append compiler_flags " $arg"
        func_append compile_command " $arg"
        func_append finalize_command " $arg"
@@ -5369,7 +5370,8 @@ func_mode_link ()
        lib=
        found=no
        case $deplib in
-       
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
+       -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
+        |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
          if test "$linkmode,$pass" = "prog,link"; then
            compile_deplibs="$deplib $compile_deplibs"
            finalize_deplibs="$deplib $finalize_deplibs"


hooks/post-receive
-- 
GNU Libtool



reply via email to

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