Jelajahi Sumber

Fixed cause of ios _main not found.

Mark Sibly 7 tahun lalu
induk
melakukan
3b56756afd
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      src/mx2cc/buildproduct.monkey2

+ 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"