[Top][All Lists]

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

Re: libtool 1.5.12: -pthread lost

From: Peter O'Gorman
Subject: Re: libtool 1.5.12: -pthread lost
Date: Mon, 07 Feb 2005 22:50:33 +0900
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

Andreas Schwab wrote:
Peter O'Gorman <address@hidden> writes:

Andreas Schwab wrote:

libtool is throwing away the -pthread flag during linking.  It is now put
in compiler_flags instead of deplibs, but the former seems to be ignored.
Reverting this patch fixes the problem:
2005-01-16  Peter O'Gorman  <address@hidden>
        * 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

As long as you put quotes around "fixes" :)

Ok :-)

Gah! Okay, when linking executables the -pthread flag is dropped.

--- libtool~    Mon Feb  7 08:43:19 2005
+++ libtool     Mon Feb  7 08:48:22 2005
@@ -1871,6 +1871,8 @@

        compiler_flags="$compiler_flags $arg"
+       compile_command="$compile_command $arg"
+       finalize_command="$finalize_command $arg"

Seems to work.

Peter O'Gorman - http://www.pogma.com

reply via email to

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