Skip to content
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

cmd/dist: support HOST_CFLAGS/HOST_LDFLAGS for building 6g/6l/etc. #2978

Closed
dsymonds opened this issue Feb 10, 2012 · 3 comments
Closed

cmd/dist: support HOST_CFLAGS/HOST_LDFLAGS for building 6g/6l/etc. #2978

dsymonds opened this issue Feb 10, 2012 · 3 comments

Comments

@dsymonds
Copy link
Contributor

If you want to pass, say, -fstack-protector-all to the C compiler, then you can mostly
do it by wedging that in to the CC environment variable. However, that's a bit messy,
and there's no way to pass extra flags to the C linker.
@rsc
Copy link
Contributor

rsc commented Feb 14, 2012

Comment 1:

Labels changed: added priority-go1, go1-must, removed priority-asap.

@dsymonds
Copy link
Contributor Author

Comment 2:

It works to set these in CC, so I don't believe this is a Go 1 blocker.

Labels changed: added priority-later, removed priority-go1, go1-must.

@rsc
Copy link
Contributor

rsc commented Feb 17, 2012

Comment 3:

It works to set these in $CC, period.

Status changed to WorkingAsIntended.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants