[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: osf5.1 + cc + -pthread
From: |
Albert Chin |
Subject: |
Re: osf5.1 + cc + -pthread |
Date: |
Sun, 5 Dec 2004 09:22:14 -0600 |
User-agent: |
Mutt/1.5.6i |
On Sun, Dec 05, 2004 at 08:53:09PM +0900, Peter O'Gorman wrote:
> Okay to apply to all current branches and HEAD? (this diff is branch-1-5)
Hang on. I have an alternate patch but I'd like to compare first. Give
me a day or two.
> Peter
> --
> Peter O'Gorman - http://www.pogma.com
> Index: ChangeLog
> 2004-12-05 Peter O'Gorman <address@hidden>
>
> * ltmain.in: Don't pass through compiler-like thread flags when
> using $LD to do the linking. Reported by Mark_Andrews isc.org.
>
> from Ralf Wildenhues <address@hidden>
> Index: ltmain.in
> ===================================================================
> RCS file: /cvsroot/libtool/libtool/Attic/ltmain.in,v
> retrieving revision 1.334.2.41
> diff -u -3 -p -u -r1.334.2.41 ltmain.in
> --- ltmain.in 1 Dec 2004 18:00:58 -0000 1.334.2.41
> +++ ltmain.in 5 Dec 2004 11:48:30 -0000
> @@ -1488,7 +1488,10 @@ EOF
> ;;
>
> -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
> - deplibs="$deplibs $arg"
> + case "$archive_cmds" in
> + *"\$LD"*) ;;
> + *) deplibs="$deplibs $arg";;
> + esac
> continue
> ;;
>
> @@ -1976,7 +1979,10 @@ EOF
> compile_deplibs="$deplib $compile_deplibs"
> finalize_deplibs="$deplib $finalize_deplibs"
> else
> - deplibs="$deplib $deplibs"
> + case "$archive_cmds" in
> + *"\$LD"*) ;;
> + *) deplibs="$deplib $deplibs";;
> + esac
> fi
> continue
> ;;
--
albert chin (address@hidden)