]> git.ipfire.org Git - thirdparty/libtool.git/commit
Don't filter OPENMP flags (-openmp & -fopenmp) from linker lines.
authorJustin Lecher <jlec@gentoo.org>
Mon, 14 Mar 2011 07:40:50 +0000 (08:40 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 22 Mar 2011 06:47:10 +0000 (07:47 +0100)
commit1b76054f4763a28ae1b01fbeee86ba0c524d1923
tree7d16cbd171e8cf3141f45d2e5180cd2a2b07b882
parent39f84c6eba7557d73e6dacae3afb40a164c62ba1
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 <Ralf.Wildenhues@gmx.de>
ChangeLog
libltdl/config/ltmain.m4sh