Index: ltmain.in =================================================================== RCS file: /cvsroot/libtool/libtool/ltmain.in,v retrieving revision 1.314 diff -p -u -b -B -r1.314 ltmain.in --- ltmain.in 19 Nov 2002 09:42:39 -0000 1.314 +++ ltmain.in 10 Dec 2002 12:46:53 -0000 @@ -1202,6 +1202,11 @@ EOF continue ;; + -Kthread) + compiler_flags="$compiler_flags $arg" + continue + ;; + # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) @@ -1283,6 +1288,11 @@ EOF continue ;; + -mthreads|-mt) + compiler_flags="$compiler_flags $arg" + continue + ;; + # gcc -m* arguments should be passed to the linker via $compiler_flags # in order to pass architecture information to the linker # (e.g. 32 vs 64-bit). This may also be accomplished via -Wl,-mfoo @@ -1337,6 +1347,11 @@ EOF -o) prev=output ;; + -pthread|-pthreads) + compiler_flags="$compiler_flags $arg" + continue + ;; + -release) prev=release continue @@ -1377,6 +1392,11 @@ EOF # Digital Unix and AIX. continue ;; + + -threads) + compiler_flags="$compiler_flags $arg" + continue + ;; -thread-safe) thread_safe=yes