Browse Source

Force 'iphonesimulator' to unuse 'threads'

seyhajin 6 years ago
parent
commit
d0b3a00241
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/mx2cc/mx2cc.monkey2

+ 4 - 1
src/mx2cc/mx2cc.monkey2

@@ -549,7 +549,10 @@ Function ParseOpts:String[]( opts:BuildOpts,args:String[] )
 		
 		opts.arch="armv7 arm64"
 		
-		If Int( GetEnv( "MX2_IOS_USE_SIMULATOR" ) ) opts.arch="x64"
+		If Int( GetEnv( "MX2_IOS_USE_SIMULATOR" ) ) 
+			opts.arch="x64"
+			opts.threads=0 'Don't support threads
+		End
 		
 	Default