mirror of
https://github.com/netdata/netdata.git
synced 2025-04-17 11:12:42 +00:00
disable _go_build in centos 8 & 9 (#16183)
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
This commit is contained in:
parent
dec6f402e8
commit
b1caf0172c
1 changed files with 1 additions and 5 deletions
|
@ -21,17 +21,13 @@ AutoReqProv: yes
|
|||
|
||||
# Disable go.d.plugin build on outdated golang distros
|
||||
%if 0%{?centos_ver:1}
|
||||
%if 0%{?centos_ver} >= 8 && 0%{!?almalinux_ver:1} && 0%{!?rocky_ver:1}
|
||||
%global _golang_build 1
|
||||
%else
|
||||
%if 0%{?centos_ver} >= 10
|
||||
%if 0%{?centos_ver} >= 10 && 0%{?almalinux_ver:1} && 0%{?rocky_ver:1}
|
||||
%global _golang_build 1
|
||||
%else
|
||||
%global _golang_build 0
|
||||
%global _missing_build_ids_terminate_build 0
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# Disable eBPF for architectures other than x86
|
||||
%ifarch x86_64 i386
|
||||
|
|
Loading…
Add table
Reference in a new issue