We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf043e3 + 63996e4 commit 1cfab77Copy full SHA for 1cfab77
boost-context-features.jam
@@ -37,9 +37,14 @@ feature.set-default binary-format : [ default_binary_format ] ;
37
local rule default_abi ( )
38
{
39
local tmp = sysv ;
40
+
41
+ # Avoid using "in" operator here: it returns true if its left
42
+ # part is empty, which happens e.g. with os.platform on
43
+ # some uncommon architectures.
44
if [ os.name ] = "NT" { tmp = ms ; }
45
else if [ os.name ] = "CYGWIN" { tmp = ms ; }
- else if [ os.platform ] in "ARM" "ARM64" { tmp = aapcs ; }
46
+ else if [ os.platform ] = "ARM" { tmp = aapcs ; }
47
+ else if [ os.platform ] = "ARM64" { tmp = aapcs ; }
48
else if [ os.platform ] = "MIPS32" { tmp = o32 ; }
49
else if [ os.platform ] = "MIPS64" { tmp = n64 ; }
50
return $(tmp) ;
0 commit comments