Skip to content

Commit

Permalink
netdata/go.d: Attempt to fix build-id errors during RPM build as per r…
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavlos Emm. Katsoulakis committed Aug 16, 2019
1 parent e2059a1 commit a83bd13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/go-build.sh
Expand Up @@ -9,7 +9,7 @@ VERSION="${TRAVIS_TAG}"
: "${VERSION:=$(git describe --tags --always --dirty)}"
GOFLAGS=${GOFLAGS:-}
GLDFLAGS=${GLDFLAGS:-}
GLDFLAGS="$GLDFLAGS -X main.version=$VERSION"
GLDFLAGS="$GLDFLAGS -X main.version=$VERSION -linkmode=external"

echo "Building binaries for version: $VERSION"
if [[ "${WHICH}" != "all" ]]; then
Expand Down

0 comments on commit a83bd13

Please sign in to comment.