diff options
author | Maciek Borzecki | 2018-04-18 07:39:09 +0200 |
---|---|---|
committer | Maciek Borzecki | 2018-04-18 07:47:15 +0200 |
commit | 8b0b97e1b64a7fe22e4320eee11e28d77185d65d (patch) | |
tree | 2114e6fb67d638b639d232e85b09ee173ff9346c /.SRCINFO | |
parent | d2ffe0c18d748c3508308272484ae592b8a99260 (diff) | |
download | aur-8b0b97e1b64a7fe22e4320eee11e28d77185d65d.tar.gz |
snapd-2.32.5-2: switch to building with go instead of go-pie
Building statically linked PIE binaries appears to be broken in both Go upstream
and Arch packages. The toolchain ignores CGO_ENABLED=0, does not fail when
building and produces dynamically linked binaries. The output looks like this:
$ CGO_ENABLED=0 go build -o snap-exec github.com/snapcore/snapd/cmd/snap-exec
# github.com/snapcore/snapd/cmd/snap-exec
loadinternal: cannot find runtime/cgo
Since snap-exec *must* be built statically, switch to building with regular Go
toolchain and without PIE.
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Diffstat (limited to '.SRCINFO')
-rw-r--r-- | .SRCINFO | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,13 +1,13 @@ pkgbase = snapd pkgdesc = Service and tools for management of snap packages. pkgver = 2.32.5 - pkgrel = 1 + pkgrel = 2 url = https://github.com/snapcore/snapd install = snapd.install arch = x86_64 license = GPL3 makedepends = git - makedepends = go-pie + makedepends = go makedepends = go-tools makedepends = libseccomp makedepends = libcap |