Skip to content

Commit 15cc585

Browse files
committed
Revert "scripts/build/plugins: don't -buildmode=pie without CGO enabled"
This reverts commit 8014cad. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 2060555 commit 15cc585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build/plugins

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ for p in cli-plugins/examples/* "$@" ; do
1515
mkdir -p "$(dirname "${TARGET_PLUGIN}")"
1616

1717
echo "Building $GO_LINKMODE $(basename "${TARGET_PLUGIN}")"
18-
(set -x ; CGO_ENABLED=0 GO111MODULE=auto go build -o "${TARGET_PLUGIN}" -tags "${GO_BUILDTAGS}" -ldflags "${GO_LDFLAGS}" "github.com/docker/cli/${p}")
18+
(set -x ; CGO_ENABLED=0 GO111MODULE=auto go build -o "${TARGET_PLUGIN}" -tags "${GO_BUILDTAGS}" -ldflags "${GO_LDFLAGS}" ${GO_BUILDMODE} "github.com/docker/cli/${p}")
1919
done

0 commit comments

Comments
 (0)