Skip to content

Commit

Permalink
change ldflag in rpm spec according to latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanotorresi committed May 24, 2022
1 parent 7a9eba3 commit 2254d12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Prometheus exporter for Pacemaker HA clusters metrics
export CGO_ENABLED=0
go build -mod=vendor \
-buildmode=pie \
-ldflags="-s -w -X main.version=%{version}" \
-ldflags="-s -w -X github.com/prometheus/common/version.Version=%{version}" \
-o %{shortname}

%install
Expand Down

0 comments on commit 2254d12

Please sign in to comment.