Force C++14 as this code is not C++17 ready

This commit is contained in:
Jeff Law 2020-08-18 09:30:38 -06:00
parent a8f5153286
commit 3402f92f00

View File

@ -4,7 +4,7 @@
Name: libproxy
Version: 0.4.15
Release: 23%{?dist}
Release: 24%{?dist}
Summary: A library handling all the details of proxy configuration
License: LGPLv2+
@ -152,6 +152,7 @@ developing applications that use %{name}.
%build
export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS"
%{cmake} \
-DMODULE_INSTALL_DIR=%{_libdir}/%{name}/%{version}/modules \
-DWITH_PERL=OFF \
@ -230,6 +231,9 @@ install -Dpm 0644 %{SOURCE1} %{buildroot}/%{_mandir}/man1/proxy.1
%changelog
* Tue Aug 18 2020 Jeff Law <law@redhat.com> - 0.4.15-24
- Force C++14 as this code is not C++17 ready
* Tue Aug 04 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.4.15-23
- build with mozjs68
- backport use after free fix for mozjs backend