[haiku-bugs] Re: [Haiku] #8891: c++flag -pthread unsupported

  • From: "umccullough" <trac@xxxxxxxxxxxx>
  • Date: Wed, 15 Aug 2012 22:06:07 -0000

#8891: c++flag  -pthread unsupported
----------------------------+-----------------------
   Reporter:  cipri         |      Owner:  nobody
       Type:  enhancement   |     Status:  closed
   Priority:  normal        |  Milestone:  R1
  Component:  System/POSIX  |    Version:  R1/alpha3
 Resolution:  invalid       |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+-----------------------

Comment (by umccullough):

 As a note - any time you run into a makefile using -pthread, or -lpthread,
 they should be modified to conditionally check this. When a configure
 script detects pthread support in a header, it should not assume that
 -pthread or -lpthread should be used in the compiler/link options.

 Same for -lm btw - which is another common issue when dealing with ports.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8891#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: