diff options
author | frealgagu | 2021-02-08 17:57:25 -0500 |
---|---|---|
committer | frealgagu | 2021-02-08 17:57:25 -0500 |
commit | 3a6fae3ec74ffec979c079a35eb8880834cbe715 (patch) | |
tree | 8d4ec7897c8f9f2ca0dd0e68d7069138d6b12d8b | |
parent | fedeb7b56d176d7d65774ec68217d01133f41f77 (diff) | |
download | aur-3a6fae3ec74ffec979c079a35eb8880834cbe715.tar.gz |
Adding flags for FULL RELRO.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = lazygit pkgdesc = A simple terminal UI for git commands pkgver = 0.24.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/jesseduffield/lazygit arch = x86_64 license = MIT @@ -3,7 +3,7 @@ pkgname=lazygit pkgver=0.24.2 -pkgrel=1 +pkgrel=2 pkgdesc="A simple terminal UI for git commands" arch=("x86_64") url="https://github.com/jesseduffield/${pkgname}" @@ -28,9 +28,10 @@ build () { export CGO_CFLAGS="${CFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}" export CGO_LDFLAGS="${LDFLAGS}" - export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -x -v" + export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw -x -v" go build \ -ldflags "\ + -linkmode external \ -extldflags ${LDFLAGS} \ -X main.commit=${_commit} \ -X main.date=$(date -u +%Y-%m-%dT%H:%M:%SZ) \ |