summaryrefslogtreecommitdiffstats
path: root/netdata.spec.in
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2024-06-07 03:58:24 -0400
committerGitHub <noreply@github.com>2024-06-07 10:58:24 +0300
commit5b8142526c2449c1120c418a1905734ff2275310 (patch)
treec2136ed6d8f83baa2a1894e066b2d9c66aa1a614 /netdata.spec.in
parent496f8621583e42ef523355b46606e7fb65d23e54 (diff)
Use bundled protobuf for openSUSE packages. (#17827)
* Use bundled protobuf for openSUSE packages. Since their system copy seems to have major issues. * Force vendored Abseil to be a static build. Without this, we end up with linking issues if there’s an existing copy of Abseil on the system.
Diffstat (limited to 'netdata.spec.in')
-rw-r--r--netdata.spec.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/netdata.spec.in b/netdata.spec.in
index 5702aa0315..04277988ac 100644
--- a/netdata.spec.in
+++ b/netdata.spec.in
@@ -360,8 +360,12 @@ happened, on your systems and applications.
-DENABLE_BUNDLED_PROTOBUF=Off \
%endif
%else
+ %if 0%{?suse_version:1}
+ -DENABLE_BUNDLED_PROTOBUF=On \
+ %else
-DENABLE_BUNDLED_PROTOBUF=Off \
%endif
+ %endif
%if %{_have_ml}
-DENABLE_ML=On \
%else