!3 [sync] PR-2: fix build problem in openEuler:23.09:Epol

From: @openeuler-sync-bot 
Reviewed-by: @tangjie02 
Signed-off-by: @tangjie02
This commit is contained in:
openeuler-ci-bot 2023-08-25 09:07:09 +00:00 committed by Gitee
commit 3fc6923e6f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: xsd Name: xsd
Version: 4.1.0 Version: 4.1.0
Release: 0.2.a11.kb3 Release: 1
Summary: W3C XML schema to C++ data binding compiler Summary: W3C XML schema to C++ data binding compiler
# Exceptions permit otherwise GPLv2 incompatible combination with ASL 2.0 # Exceptions permit otherwise GPLv2 incompatible combination with ASL 2.0
License: GPLv2 with exceptions and ASL 2.0 License: GPLv2 with exceptions and ASL 2.0
@ -51,7 +51,7 @@ rm -rf libcutl
%if 0%{?rhel} < 7 %if 0%{?rhel} < 7
%{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro} %{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro}
%endif %endif
%make_build verbose=1 CXX=g++ CC=gcc CXXFLAGS="$RPM_OPT_FLAGS -fPIC -pie -Wl,-z,now" LDFLAGS="%{__global_ldflags} -fPIC -pie -Wl,-z,now" BOOST_LINK_SYSTEM=y EXTERNAL_LIBCUTL=y %make_build verbose=1 CXX=g++ CC="CC -std=gnu89" CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS -fPIC -pie -Wl,-z,now" LDFLAGS="%{__global_ldflags} -fPIC -pie -Wl,-z,now" BOOST_LINK_SYSTEM=y EXTERNAL_LIBCUTL=y
%install %install
rm -rf apidocdir rm -rf apidocdir
@ -114,6 +114,9 @@ make -j 1 test EXTERNAL_LIBCUTL=y BOOST_LINK_SYSTEM=y
%doc apidocdir/* %doc apidocdir/*
%changelog %changelog
* Tue Aug 22 2023 wangjunqi <wangjunqi@kylinos.cn> - 4.1.0-1
- fix build problem in openEuler:23.09:Epol
* Wed May 12 2021 kpkg <kpkg@kylinos.com.cn> - 4.1.0-0.2.a11.kb3 * Wed May 12 2021 kpkg <kpkg@kylinos.com.cn> - 4.1.0-0.2.a11.kb3
- rebuild for KY3.4-4 - rebuild for KY3.4-4