kisslinux / kiss

KISS Linux - Package Manager
https://kisslinux.github.io
MIT License
464 stars 62 forks source link

Set GOFLAGS along with GOPATH #271

Closed git-bruh closed 3 years ago

git-bruh commented 3 years ago

What do you think of setting GOFLAGS to "$GOFLAGS -trimpath -modcacherw"�here ? It trims the build dir references from the binary and prevents the flurry of errors when a go package is built since the cache is read-only by default.

If this is accepted then RUSTFLAGS should also be set by default to do the same: https://github.com/kisslinux/repo/blob/6cb4c6840118bd94c499b90ad21be4ad9d43c08c/extra/rust/build#L5