1
0
mirror of https://github.com/golang/go synced 2024-11-17 23:04:56 -07:00

cmd/cgo/doc: mention -U as allowed flag

This commit is contained in:
Umang Parmar 2019-10-20 17:03:12 +05:30
parent 43ea8da0b2
commit 096ff5a59a

View File

@ -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