build: ensure arch based build always works.

This commit is contained in:
Alexandre Pujol 2023-07-08 22:59:54 +01:00
parent 6d7996a2fd
commit c68bef3f16
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 1 additions and 10 deletions

View file

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