Opened 5 years ago

Closed 2 years ago

#14847 closed enhancement (fixed)

add -pthread helper

Reported by: kallisti5 Owned by: bonefish
Priority: normal Milestone: R1/beta4
Component: Build System Version: R1/Development
Keywords: buildtools Cc:
Blocked By: Blocking:
Platform: All

Description

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 (1)

comment:1 by pulkomandy, 2 years ago

Milestone: UnscheduledR1/beta4
Resolution: fixed
Status: newclosed

Fixed in btrev43191 and btrev43190

Note: See TracTickets for help on using tickets.