-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: add CXXFLAGS options to whitelist #23923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Isn't Are you sure those are the only 2 flags you need? |
Unfortunately, we really can't add |
Oh, wait, sorry, I think I'm wrong. |
The full set of flags being used is as follows:
If I build using the following command I don't receive any errors:
|
@wd256 |
Consolidating into #23937. |
What version of Go are you using (
go version
)?go1.10 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?linux / amd64
What did you do?
Ran
go build
What did you expect to see?
Application build successfully
What did you see instead?
Running again with
CGO_CXXFLAGS_ALLOW="-ffat-lto-objects" go build
gives the following result:Please add the
-ffat-lto-objects
and-fuse-linker-plugin
options to the whitelist.The text was updated successfully, but these errors were encountered: