goreleaser / goreleaser-cross

Docker image for Golang cross-compiling with CGO
MIT License
136 stars 23 forks source link

Make CC and CXX vars host architecture independent #17

Closed HenryNguyen5 closed 1 year ago

HenryNguyen5 commented 1 year ago

Hi there, thanks for making this project. It saved me a bunch of time. One big thing i ran into while using an arm64 based host is that the CC and CCX variable is host arch specific when targeting g++ and gcc. I changed your table so that no matter which host you're on, it uses the right compiler arch type.