2
0
Эх сурвалжийг харах

Force 'iphonesimulator' to unuse 'threads'

seyhajin 6 жил өмнө
parent
commit
d0b3a00241

+ 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