mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
461e7b7d40
commit
3197be4807
10 changed files with 62 additions and 3 deletions
|
|
@ -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*);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue