git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH (update)] make: By default, remove -pthread on Darwin (it is included by cstdlib).

From
Ted Pavlic <ted@tedpavlic.com>
Date
Jan 26, 2009, 18:57 UTC
Message-ID
<497E079C.7090303@tedpavlic.com>
In-Reply-To
<7vr62q6jtp.fsf@gitster.siamese.dyndns.org>
...
Show 5 quoted lines
>> This patch clears PTHREAD_LIBS by default. However, if
>> FORCE_DARWIN_PTHREAD_LIBS is defined, then PTHREAD_LIBS will be set as
>> before.
>
> Why is this even configurable?  You explained pretty clearly that:
...
> But the above leaves the reader wondering in what situation it may be
> useful to use FORCE_* and for what purpose other than to get the nasty
> warning back (which probably is not most users want to).

I was afraid that there would be some strange situation where someone would have a configuration where they might want pthreads turned on. I suppose that if someone is in that specialized situation, they will be able to customize their build environment on their own.

I will submit a new patch without the define.

Thanks -- Ted

-- 
Ted Pavlic <ted@tedpavlic.com>

   Please visit my ALS association page:
         http://web.alsa.org/goto/tedpavlic
   My family appreciates your support in the fight to defeat ALS.
Previous: Junio C HamanoNext: Ted Pavlic
Message 4 of 5 in “make: By default, remove -pthread on Darwin (it is included by cstdlib).”
  1. make: By default, remove -pthread on Darwin (it is included by cstdlib).Ted Pavlic, Jan 26, 2009
  2. make: By default, remove -pthread on Darwin (it is included by cstdlib).Ted Pavlic, Jan 26, 2009
  3. Junio C HamanoJan 26, 2009
  4. Ted PavlicJan 26, 2009
  5. make: Remove -pthread on Darwin (it is included by cstdlib).Ted Pavlic, Jan 26, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.