Fixed a compilation failure due to a dependency package compiled using c++17.

Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
cherry530 2024-04-08 15:41:15 +08:00
parent 2bb598d593
commit 03834457c7

View File

@ -8,7 +8,7 @@
%global upver 1.42.1
Name: netdata
Version: 1.42.1
Release: 1
Release: 2
Summary: Real-time performance monitoring
License: GPLv3 and GPLv3+ and ASL 2.0 and CC-BY-4.0 and MIT and WTFPL
URL: https://github.com/%{name}/%{name}/
@ -92,6 +92,7 @@ rm -rf web/fonts web/gui/dashboard/static/media
cp %{SOURCE5} .
%build
export HAVE_CXX17="1"
autoreconf -ivf
%configure \
--prefix=%{_prefix} \
@ -279,6 +280,9 @@ fi
%attr(4755,root,root) %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin
%changelog
* Tue Apr 09 2024 xu_ping <707078654@qq.com> - 1.42.1-2
- Fixed a compilation failure due to a dependency package compiled using c++17.
* Thu Aug 24 2023 chenchen <chen_aka_jan@163.com> - 1.42.1-1
- Upgrade to version 1.42.1