+2011-03-22 Justin Lecher <jlec@gentoo.org> (tiny change)
+ Rhys Ulerich <rhys.ulerich@gmail.com> (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 <Ralf.Wildenhues@gmx.de>
libtoolize: detect -I<dir> (without space) in ACLOCAL_AMFLAGS.
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"
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"