diff options
Diffstat (limited to 'libgo/go/cmd/cgo/doc.go')
-rw-r--r-- | libgo/go/cmd/cgo/doc.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/cmd/cgo/doc.go b/libgo/go/cmd/cgo/doc.go index f227d7f8502..8c3bf81bf78 100644 --- a/libgo/go/cmd/cgo/doc.go +++ b/libgo/go/cmd/cgo/doc.go @@ -55,7 +55,7 @@ For example: The default pkg-config tool may be changed by setting the PKG_CONFIG environment variable. -For security reasons, only a limited set of flags are allowed, notably -D, -I, and -l. +For security reasons, only a limited set of flags are allowed, notably -D, -U, -I, and -l. To allow additional flags, set CGO_CFLAGS_ALLOW to a regular expression matching the new flags. To disallow flags that would otherwise be allowed, set CGO_CFLAGS_DISALLOW to a regular expression matching arguments @@ -99,7 +99,7 @@ Will be expanded to: When the Go tool sees that one or more Go files use the special import "C", it will look for other non-Go files in the directory and compile -them as part of the Go package. Any .c, .s, or .S files will be +them as part of the Go package. Any .c, .s, .S or .sx files will be compiled with the C compiler. Any .cc, .cpp, or .cxx files will be compiled with the C++ compiler. Any .f, .F, .for or .f90 files will be compiled with the fortran compiler. Any .h, .hh, .hpp, or .hxx files will |