x/sys/unix: use xcrun to find OS X and iOS SDKs in mkall.sh.

This makes the script resistant to changes in the SDK location, which
apparently happens from time to time.

While I was at it, made another cosmetic touch-up: use a .gitignore file
to stop `git status` from showing the _obj/ directory generated by
mkall.sh.

Change-Id: Ia706114d94e324ab443f6f5d6aa7c0c9f8a84620
Reviewed-on: https://go-review.googlesource.com/14192
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Aaron Jacobs
2015-09-02 01:15:37 +00:00
committed by Ian Lance Taylor
parent 9c60d1c508
commit 2ac7e53520
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -0,0 +1 @@
_obj/