mirror of
https://github.com/golang/go.git
synced 2025-05-19 14:24:46 +00:00
Missing flags for FreeBSD shared link as used by cgo in default build.
R=rsc https://golang.org/cl/157065
This commit is contained in:
parent
57f62f6eae
commit
72e7444ad4
@ -103,6 +103,7 @@ RUNTIME_CFLAGS=-I$(GOROOT)/src/pkg/runtime $(RUNTIME_CFLAGS_$(GOARCH))
|
||||
# Have to run gcc with the right size argument on hybrid 32/64 machines.
|
||||
_CGO_CFLAGS_386=-m32
|
||||
_CGO_CFLAGS_amd64=-m64
|
||||
_CGO_LDFLAGS_freebsd=-shared -lpthread -lm
|
||||
_CGO_LDFLAGS_linux=-shared -lpthread -lm
|
||||
_CGO_LDFLAGS_darwin=-dynamiclib -Wl,-undefined,dynamic_lookup
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user