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

Fixed cause of ios _main not found.

Mark Sibly 7 жил өмнө
parent
commit
3b56756afd

+ 2 - 0
src/mx2cc/buildproduct.monkey2

@@ -443,6 +443,7 @@ Class GccBuildProduct Extends BuildProduct
 			Endif
 			
 			'A bit dodgy - rip out -arch's from ios
+			#rem
 			If opts.target="ios"
 				Repeat
 					Local i0:=cmd.Find( " -arch "  )
@@ -453,6 +454,7 @@ Class GccBuildProduct Extends BuildProduct
 				Forever
 				If opts.arch<>"x64" cmd+=" -arch armv7"
 			Endif
+			#end
 			
 			cmd+=" -MMD -MF~q"+deps+"~q"
 			cmd+=" -o ~q"+obj+"~q ~q"+src+"~q"