!4 [sync] PR-2: fix compile error in openeuler:23.09: use c++14 standard
From: @openeuler-sync-bot Reviewed-by: @tangjie02 Signed-off-by: @tangjie02
This commit is contained in:
commit
2a1027dcd2
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: libcutl
|
Name: libcutl
|
||||||
Version: %{base_version}.0
|
Version: %{base_version}.0
|
||||||
Release: 17
|
Release: 18
|
||||||
Summary: C++ utility library from Code Synthesis
|
Summary: C++ utility library from Code Synthesis
|
||||||
License: MIT and BSL-1.0
|
License: MIT and BSL-1.0
|
||||||
URL: http://www.codesynthesis.com/projects/libcutl/
|
URL: http://www.codesynthesis.com/projects/libcutl/
|
||||||
@ -48,6 +48,8 @@ rm -rv cutl/details/boost
|
|||||||
rm -rv cutl/details/expat
|
rm -rv cutl/details/expat
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
CC="$CC -std=gnu89"
|
||||||
|
export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS"
|
||||||
# Use the system Boost and expat libraries
|
# Use the system Boost and expat libraries
|
||||||
confopts="--disable-static --with-external-expat %{?external_boost}"
|
confopts="--disable-static --with-external-expat %{?external_boost}"
|
||||||
# If building on RHEL 5
|
# If building on RHEL 5
|
||||||
@ -76,6 +78,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}
|
|||||||
%{_libdir}/pkgconfig/libcutl.pc
|
%{_libdir}/pkgconfig/libcutl.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 18 2023 wangjunqi <wangjunqi@kylinos.cn> - 1.10.0-18
|
||||||
|
- fix compile error in openeuler:23.09: use c++14 standard
|
||||||
|
|
||||||
* Tue Oct 08 2019 Antonio Trande <sagitter@fedoraproject.org> - 1.10.0-17
|
* Tue Oct 08 2019 Antonio Trande <sagitter@fedoraproject.org> - 1.10.0-17
|
||||||
- Some minor fixes
|
- Some minor fixes
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user