build: improve just install

This commit is contained in:
Alexandre Pujol 2025-05-18 19:33:58 +02:00
parent 10ef829d31
commit 86afef4920
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 10 additions and 6 deletions

View file

@ -30,7 +30,8 @@ build() {
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
DISTRIBUTION=arch just complain
export DISTRIBUTION=arch
just complain
}
package() {