!13 [sync] PR-11: Add -Xmx4096m for riscv64
From: @openeuler-sync-bot Reviewed-by: @luo-haibo Signed-off-by: @luo-haibo
This commit is contained in:
commit
1a7c5cf5be
@ -3,7 +3,7 @@
|
||||
%global pom_url http://repo1.maven.org/maven2/org/hibernate
|
||||
Name: hibernate4
|
||||
Version: 4.3.11
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: Relational persistence and query service
|
||||
License: LGPLv2+ and ASL 2.0
|
||||
URL: http://www.hibernate.org/
|
||||
@ -342,6 +342,9 @@ sed -i.jandex1.2.2 "s|classDotName, superName, access_flag, interfaces, map|clas
|
||||
%mvn_compat_version : %{namedversion} %{version} 4
|
||||
|
||||
%build
|
||||
%if "%{_arch}" == "riscv64"
|
||||
export JAVA_TOOL_OPTIONS="-Xmx4096m"
|
||||
%endif
|
||||
%mvn_build -s -f -- -Dproject.build.sourceEncoding=UTF-8
|
||||
|
||||
%install
|
||||
@ -376,6 +379,9 @@ sed -i.jandex1.2.2 "s|classDotName, superName, access_flag, interfaces, map|clas
|
||||
%license lgpl.txt LICENSE-2.0.txt
|
||||
|
||||
%changelog
|
||||
* Wed Apr 10 2024 Dingli Zhang <dingli@iscas.ac.cn> - 4.3.11-4
|
||||
- Add -Xmx4096m for riscv64
|
||||
|
||||
* Thu Mar 18 2021 wangxiao <wangxiao65@huawei.com> - 4.3.11-3
|
||||
- Fix CVE-2019-14900
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user