mirror of
				https://github.com/golang/go.git
				synced 2025-10-31 16:50:58 +00:00 
			
		
		
		
	 f961a99a35
			
		
	
	
		f961a99a35
		
	
	
	
	
		
			
			Fixes #837. Change-Id: I2d601504addbd220b304d32d587144d2a702f753 Reviewed-on: https://go-review.googlesource.com/2127 Reviewed-by: David Crawshaw <crawshaw@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			443 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			443 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/sh
 | |
| # This uses the latest available iOS SDK, which is recommended.
 | |
| # To select a specific SDK, run 'xcodebuild -showsdks'
 | |
| # to see the available SDKs and replace iphoneos with one of them.
 | |
| SDK=iphoneos
 | |
| SDK_PATH=`xcrun --sdk $SDK --show-sdk-path`
 | |
| export IPHONEOS_DEPLOYMENT_TARGET=5.1
 | |
| # cmd/cgo doesn't support llvm-gcc-4.2, so we have to use clang.
 | |
| CLANG=`xcrun --sdk $SDK --find clang`
 | |
| exec $CLANG -arch armv7 -isysroot $SDK_PATH "$@"
 |