0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-17 11:12:42 +00:00

disable _go_build in centos 8 & 9 ()

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
This commit is contained in:
Tasos Katsoulas 2023-10-13 20:57:55 +03:00 committed by GitHub
parent dec6f402e8
commit b1caf0172c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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