app-emulation/containerd: Fix build for multiple BUILDTAGS
authorManuel Rüger <mrueg@gentoo.org>
Fri, 7 Sep 2018 06:18:33 +0000 (08:18 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Fri, 7 Sep 2018 06:18:33 +0000 (08:18 +0200)
Closes: https://bugs.gentoo.org/show_bug.cgi?id=665418
Package-Manager: Portage-2.3.49, Repoman-2.3.10

app-emulation/containerd/containerd-1.1.2.ebuild

index 4bd98d13a3b3ff1a7de85109d18ea66c9289b8f0..1e30615399423c085833e87ccc974bf0b54be72a 100644 (file)
@@ -47,7 +47,7 @@ src_prepare() {
 src_compile() {
        local options=( $(usex btrfs "" "no_btrfs") $(usex cri "" "no_cri") $(usex seccomp "seccomp" "") $(usex apparmor "apparmor" "") )
        export GOPATH="${WORKDIR}/${P}" # ${PWD}/vendor
-       LDFLAGS=$(usex hardened '-extldflags -fno-PIC' '') emake BUILDTAGS="${options[@]}"
+       LDFLAGS=$(usex hardened '-extldflags -fno-PIC' '') BUILDTAGS="${options[@]}" emake
 }
 
 src_install() {