goreleaser / goreleaser-cross

Docker image for Golang cross-compiling with CGO
MIT License
156 stars 26 forks source link

Add clang and clang++ for Linux #4

Closed kakkoyun closed 2 years ago

kakkoyun commented 2 years ago

I don't know if there's something blocking using clang as CC or if it's already possible.

I would love to contribute if you can show me the ropes.

troian commented 2 years ago

Should be able to use it. Set CC=/usr/bin/clang or CXX=/usr/bin/clang++

root@46fa1d87557c:/go# which clang
/usr/bin/clang
root@46fa1d87557c:/go# which clang++
/usr/bin/clang++
kakkoyun commented 2 years ago

@troian Thanks for the quick response.

I'm assuming this command output from the provided container. I'll try that.

I have other questions, is there any other way to ask questions regarding this project? Or shall I continue using issues?

troian commented 2 years ago

correct, those are inside the container.