mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 00:32:11 +00:00
Add QNX support for threading-flags (#467)
This commit is contained in:
committed by
Rene Rivera
parent
56f15f0edc
commit
4e2be04c2c
@@ -457,12 +457,13 @@ local rule compile-link-flags ( * )
|
||||
threading-flags <target-os>windows : -mthreads ;
|
||||
threading-flags <target-os>cygwin : -mthreads ;
|
||||
threading-flags <target-os>solaris : -pthreads : rt ;
|
||||
threading-flags <target-os>qnx : -pthread ;
|
||||
|
||||
local bsd = [ MATCH ^(.*bsd)$ : $(all-os) ] ;
|
||||
threading-flags <target-os>$(bsd) : -pthread ;
|
||||
|
||||
local no-threading = android beos haiku sgi darwin vxworks ;
|
||||
local threading-generic-os = [ set.difference $(all-os) : $(no-threading) $(bsd) windows cygwin solaris ] ;
|
||||
local threading-generic-os = [ set.difference $(all-os) : $(no-threading) $(bsd) windows cygwin solaris qnx ] ;
|
||||
threading-flags <target-os>$(threading-generic-os) : -pthread : rt ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user