Opened 18 months ago

#14847 new enhancement

add -pthread helper

Reported by: kallisti5 Owned by: bonefish
Priority: normal Milestone: Unscheduled
Component: Build System Version: R1/Development
Keywords: buildtools Cc:
Blocked By: Blocking:
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'

Change History (0)

Note: See TracTickets for help on using tickets.