libtool-commit
[Top][All Lists]
Advanced

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

branch master updated: Clang uses -fopenmp=* to allow choosing between l


From: Ileana Dumitrescu
Subject: branch master updated: Clang uses -fopenmp=* to allow choosing between libgomp and libomp.
Date: Mon, 25 Mar 2024 15:26:36 -0400

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

ildumi pushed a commit to branch master
in repository libtool.

The following commit(s) were added to refs/heads/master by this push:
     new 888bd7ad Clang uses -fopenmp=* to allow choosing between libgomp and 
libomp.
888bd7ad is described below

commit 888bd7ad44fce8a2d4e9bc720c8bb8234bc10df4
Author: Sam James <sam@gentoo.org>
AuthorDate: Mon Mar 25 20:32:30 2024 +0200

    Clang uses -fopenmp=* to allow choosing between libgomp and libomp.
    
    * build-aux/ltmain.in: Pass through -fopenmp=*.
---
 build-aux/ltmain.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 7e4b8211..c1d28856 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -5198,7 +5198,7 @@ func_mode_link ()
        continue
        ;;
       -mt|-mthreads|-kthread|-Kthread|-pthreads|--thread-safe \
-      |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
+      |-threads|-fopenmp|-fopenmp=*|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
        func_append compiler_flags " $arg"
        func_append compile_command " $arg"
        func_append finalize_command " $arg"
@@ -5755,7 +5755,7 @@ func_mode_link ()
        found=false
        case $deplib in
        -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
-        |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
+        |-threads|-fopenmp|-fopenmp=*|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
          if test prog,link = "$linkmode,$pass"; then
            compile_deplibs="$deplib $compile_deplibs"
            finalize_deplibs="$deplib $finalize_deplibs"



reply via email to

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