Skip to content

Commit

Permalink
adding ability to set gcflags on build (hashicorp#3451)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishoffman authored Oct 11, 2017
1 parent 095017a commit 33e004f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ fi
echo "==> Building..."
gox \
-osarch="${XC_OSARCH}" \
-gcflags "${GCFLAGS}" \
-ldflags "-X github.com/hashicorp/vault/version.GitCommit='${GIT_COMMIT}${GIT_DIRTY}'" \
-output "pkg/{{.OS}}_{{.Arch}}/vault" \
-tags="${BUILD_TAGS}" \
Expand Down

0 comments on commit 33e004f

Please sign in to comment.