diff --git a/scripts/build.sh b/scripts/build.sh index 3bf51d42f..7074ee542 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -34,7 +34,8 @@ ldflags=" -X ${repo_path}/version.Branch=${branch} -X ${repo_path}/version.BuildUser=${USER}@${host} -X ${repo_path}/version.BuildDate=${build_date} - -X ${repo_path}/version.GoVersion=${go_version}" + -X ${repo_path}/version.GoVersion=${go_version} + ${EXTRA_LDFLAGS}" export GO15VENDOREXPERIMENT="1"