Browse Source

containerd enable cgo for ppc64

Signed-off-by: virtbuilder_pel7ppc64bebuilder0 <virtbuilder@powerel.org>
master
virtbuilder_pel7ppc64bebuilder0 6 years ago
parent
commit
e440b400f6
  1. 3
      SPECS/containerd.spec

3
SPECS/containerd.spec

@ -149,6 +149,9 @@ low-level storage and network attachments, etc. @@ -149,6 +149,9 @@ low-level storage and network attachments, etc.
%build
%gobuildroot
export LDFLAGS="-X %{goipath}/version.Version=%{version}"
%ifarch ppc64
export CGO_ENABLED=1
%endif
%gobuild -o _bin/containerd %{goipath}/cmd/containerd
%gobuild -o _bin/containerd-shim %{goipath}/cmd/containerd-shim
%gobuild -o _bin/ctr %{goipath}/cmd/ctr

Loading…
Cancel
Save