+2006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * ltmain.in (link mode): Honor `-threads', similar to `-mt'.
+ Report by Eric Paire <eric.paire@st.com>.
+
2006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* ltmain.in: Convert *each* occurrence of `compile_command',
continue
;;
- -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
+ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
compiler_flags="$compiler_flags $arg"
compile_command="$compile_command $arg"
finalize_command="$finalize_command $arg"
lib=
found=no
case $deplib in
- -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
+ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
if test "$linkmode,$pass" = "prog,link"; then
compile_deplibs="$deplib $compile_deplibs"
finalize_deplibs="$deplib $finalize_deplibs"