cmd/dist, cmd/ld: GO_EXTLINK_ENABLED=0 defaults to -linkmode=internal

Change build system to set GO_EXTLINK_ENABLED=0 by default for
OS X 10.6, since the system linker has a bug and can not
handle the object files generated by 6l.

Fixes #5130.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8183043
This commit is contained in:
Ian Lance Taylor 2013-03-29 16:33:35 -07:00
parent 461e7b7d40
commit 3197be4807
10 changed files with 62 additions and 3 deletions

View file

@ -291,6 +291,7 @@ extern char* getgoroot(void);
extern char* getgoversion(void);
extern char* getgoarm(void);
extern char* getgo386(void);
extern char* getgoextlinkenabled(void);
extern char* mktempdir(void);
extern void removeall(char*);