mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 00:52:16 +00:00
Introduce 'android' as value of 'target-os' feature.
At present, all it does is skips linking to the rt/pthread libraries.
This commit is contained in:
@@ -40,7 +40,7 @@ import convert ;
|
||||
import generate ;
|
||||
|
||||
|
||||
.os-names = aix bsd cygwin darwin freebsd hpux iphone linux netbsd openbsd osf
|
||||
.os-names = aix android bsd cygwin darwin freebsd hpux iphone linux netbsd openbsd osf
|
||||
qnx qnxnto sgi solaris unix unixware windows
|
||||
elf # Not actually an OS -- used for targeting bare metal where object
|
||||
# format is ELF. This catches both -elf and -eabi gcc targets and well
|
||||
|
||||
@@ -1025,6 +1025,7 @@ rule setup-threading ( targets * : sources * : properties * )
|
||||
|
||||
switch $(target)
|
||||
{
|
||||
case android: # No threading options, everything is in already.
|
||||
case windows : option = -mthreads ;
|
||||
case cygwin : option = -mthreads ;
|
||||
case solaris : option = -pthreads ; libs = rt ;
|
||||
|
||||
Reference in New Issue
Block a user