Commit 18f926aa authored by Steve McCoy's avatar Steve McCoy Committed by Russ Cox

cgo: enable external linking mode on FreeBSD amd64.

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
parent ccec3c76
...@@ -141,6 +141,7 @@ main(int argc, char *argv[]) ...@@ -141,6 +141,7 @@ main(int argc, char *argv[])
default: default:
sysfatal("cannot use -hostobj with -H %s", headstr(HEADTYPE)); sysfatal("cannot use -hostobj with -H %s", headstr(HEADTYPE));
case Hlinux: case Hlinux:
case Hfreebsd:
break; break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment