]> Cypherpunks repositories - gostls13.git/commitdiff
cgo: enable external linking mode on FreeBSD amd64.
authorSteve McCoy <mccoyst@gmail.com>
Sat, 9 Mar 2013 22:51:57 +0000 (14:51 -0800)
committerRuss Cox <rsc@golang.org>
Sat, 9 Mar 2013 22:51:57 +0000 (14:51 -0800)
Tested on FreeBSD 9.1 amd64, per rsc's instructions at
https://groups.google.com/d/topic/golang-dev/HjRTLvRsJXo/discussion .

R=golang-dev, lucio.dere, devon.odell, rsc
CC=golang-dev
https://golang.org/cl/7664044

src/cmd/6l/obj.c

index 6ced8be7fd665082811ceb868e07287c9d053fc6..cf54b2b4f591ff4af7a25c39988f9bdc81fff889 100644 (file)
@@ -141,6 +141,7 @@ main(int argc, char *argv[])
                default:
                        sysfatal("cannot use -hostobj with -H %s", headstr(HEADTYPE));
                case Hlinux:
+               case Hfreebsd:
                        break;
                }
        }