diff options
author | Russ Cox <rsc@golang.org> | 2009-09-30 13:47:15 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-09-30 13:47:15 -0700 |
commit | 872a8a09080aee0bb54eddf8cbc3d57a61aec6ab (patch) | |
tree | 8e798c970bfa78770ae32e343c2b5807dcbbb2da /misc/cgo | |
parent | cea1e9d746c5013b6566fac3a06f817626fbcae1 (diff) | |
download | golang-872a8a09080aee0bb54eddf8cbc3d57a61aec6ab.tar.gz |
cgo working on linux/386
R=r
DELTA=70 (47 added, 4 deleted, 19 changed)
OCL=35167
CL=35171
Diffstat (limited to 'misc/cgo')
-rw-r--r-- | misc/cgo/gmp/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/cgo/gmp/Makefile b/misc/cgo/gmp/Makefile index 1e521ab7d..b261ff235 100644 --- a/misc/cgo/gmp/Makefile +++ b/misc/cgo/gmp/Makefile @@ -10,6 +10,12 @@ CGOFILES=\ CGO_LDFLAGS=-lgmp +# To add flags necessary for locating the library or its include files, +# set CGO_CFLAGS or CGO_LDFLAGS. For example, to use an +# alternate installation of the library: +# CGO_CFLAGS=-I/home/rsc/gmp32/include +# CGO_LDFLAGS+=-L/home/rsc/gmp32/lib + # Can have plain GOFILES too, but this example doesn't. include $(GOROOT)/src/Make.pkg |