This commit is contained in:
parent
2a466b5767
commit
d4f99e7f8a
@ -343,7 +343,7 @@ tar -xf %{SOURCE1} -C src/go/collectors/go.d.plugin
|
||||
|
||||
%build
|
||||
export GOFLAGS=-mod=vendor
|
||||
%ifnarch ppc64 armv7l %ix86
|
||||
%ifarch x86_64 aarch64
|
||||
export GOFLAGS="$GOFLAGS -buildmode=pie"
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user