diff options
author | Ian Lance Taylor <iant@golang.org> | 2013-03-29 16:33:35 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2013-03-29 16:33:35 -0700 |
commit | 9a03bbb22c842fae25af564b1942eb9917d06148 (patch) | |
tree | 4068ac17b90b308053d6cc8c8585d71f505ecfe2 /include | |
parent | b59f45ec21700f49dd2d0f8fbf7ec1d4a758f6fc (diff) | |
download | go-9a03bbb22c842fae25af564b1942eb9917d06148.tar.gz |
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 issue 5130.
R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/8183043
Diffstat (limited to 'include')
-rw-r--r-- | include/libc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libc.h b/include/libc.h index fab1532f2..e10dde3ad 100644 --- a/include/libc.h +++ b/include/libc.h @@ -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*); |