diff options
author | andrewSC | 2024-02-17 18:11:43 -0500 |
---|---|---|
committer | andrewSC | 2024-02-17 18:11:43 -0500 |
commit | 9e5c8fe9cc11e1665c82e90dec6797aec44455e1 (patch) | |
tree | ba6910c2df648267db69c4528c8a752727533ea5 | |
parent | 9ba9abe17835a43a31cac9258f0b92892c5baf48 (diff) | |
download | aur-9e5c8fe9cc11e1665c82e90dec6797aec44455e1.tar.gz |
Updating build flags
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 3 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = etcd pkgdesc = A highly-available key value store for shared configuration and service discovery. pkgver = 3.5.12 - pkgrel = 1 + pkgrel = 2 url = https://github.com/etcd-io/etcd install = etcd.install arch = x86_64 @@ -6,7 +6,7 @@ pkgname=etcd pkgver=3.5.12 -pkgrel=1 +pkgrel=2 pkgdesc='A highly-available key value store for shared configuration and service discovery.' arch=('x86_64' 'armv6h' 'armv7h') url='https://github.com/etcd-io/etcd' @@ -27,8 +27,7 @@ build() { export CGO_CFLAGS="${CFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}" export CGO_LDFLAGS="${LDFLAGS}" - export GO_BUILD_FLAGS="-trimpath -buildmode=pie -mod=readonly -modcacherw" - export GO_LDFLAGS="-linkmode=external -extldflags=${LDFLAGS}" + export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" cd "${srcdir}"/"${pkgname}"-"${pkgver}" |