!157 disable global lto

From: @easywuly 
Reviewed-by: @kuenking111 
Signed-off-by: @kuenking111
This commit is contained in:
openeuler-ci-bot 2025-04-09 06:31:44 +00:00 committed by Gitee
commit bd34fb3665
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -22,6 +22,9 @@
# Enable release builds by default on relevant arches.
%bcond_without release
# Disable global LTO
%define _lto_cflags %{nil}
# The -g flag says to use strip -g instead of full strip on DSOs or EXEs.
# This fixes detailed NMT and other tools which need minimal debug info.
%global _find_debuginfo_opts -g
@ -917,7 +920,7 @@ Provides: java-src%{?1} = %{epoch}:%{version}-%{release}
Name: java-%{javaver}-%{origin}
Version: %{newjavaver}.%{buildver}
Release: 3
Release: 4
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons
# and this change was brought into RHEL-4. java-1.5.0-ibm packages
@ -1986,6 +1989,9 @@ cjc.mainProgram(args) -- the returns from copy_jdk_configs.lua should not affect
%changelog
* Wed Mar 26 2025 Whitney33 <shangqianli1@huawei.com> - 1:17.0.14.7-4
- fix condigure arguments, disable global lto
* Wed Mar 19 2025 swcompiler <lc@wxiat.cn> - 1:17.0.14.7-3
- add sw64 architecture support to 17.0.14.7