libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: osf5.1 + cc + -pthread


From: Ralf Wildenhues
Subject: Re: osf5.1 + cc + -pthread
Date: Sun, 16 Jan 2005 14:37:05 +0100
User-agent: Mutt/1.5.6+20040907i

* Peter O'Gorman wrote on Sun, Jan 16, 2005 at 01:39:13PM CET:
> Peter O'Gorman wrote:
> 
> |> Other than that, after my proposed changes:
> |> - both patches have around the same size,
> |> - I like the "inclusion because of $CC" argument
> |> - but Albert's patch messes up the order of the arguments.
> |>   IIRC that's done anyway, right?
> 
> Okay to apply this?

Yes, I think so.  If this is order-dependent anywhere, we will find out.

Regards,
Ralf

> Index: ChangeLog
>       * ltmain.in: Don't pass through compiler-like thread flags when
>       using $LD to do the linking. Use compiler_flags instead. 
>       Reported by address@hidden
> 
> Index: ltmain.in
> ===================================================================
> RCS file: /cvsroot/libtool/libtool/Attic/ltmain.in,v
> retrieving revision 1.334.2.46
> diff -u -3 -p -u -r1.334.2.46 ltmain.in
> --- ltmain.in 28 Dec 2004 12:53:35 -0000 1.334.2.46
> +++ ltmain.in 16 Jan 2005 12:34:47 -0000
> @@ -1510,7 +1510,7 @@ EOF
>       ;;
>  
>       -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
> -     deplibs="$deplibs $arg"
> +     compiler_flags="$compiler_flags $arg"
>       continue
>       ;;
>  
> @@ -1998,7 +1998,7 @@ EOF
>           compile_deplibs="$deplib $compile_deplibs"
>           finalize_deplibs="$deplib $finalize_deplibs"
>         else
> -         deplibs="$deplib $deplibs"
> +         compiler_flags="$compiler_flags $deplib"
>         fi
>         continue
>         ;;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]