#14847: add -pthread helper
--------------------------+------------------------------
Reporter: kallisti5 | Owner: bonefish
Type: enhancement | Status: new
Priority: normal | Milestone: Unscheduled
Component: Build System | Version: R1/Development
Keywords: buildtools | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
--------------------------+------------------------------
We added a -lpthread alias a while ago to help reduce the number of failed
ports assuming you need -lpthread.
We are also missing "-pthread"
It could make sense to throw a warning in our GCC and continue onward
(maybe ensuring -lroot?) vs erroring out.
{{{
~> gcc -lpthread test.c
~> # :-)
}}}
{{{
~> gcc -pthread test.c
gcc: error: unrecognized command line option '-pthread'
}}}
--
Ticket URL: <https://dev.haiku-os.org/ticket/14847>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.