From c6b4a03f794293d44eb7fcf3ff6bd281d9e71221 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=9B=E7=B3=BB=E5=B0=91=E5=B9=B4=E4=B8=AD=E4=BA=8C?= Date: Fri, 6 Dec 2024 18:50:51 +0800 Subject: [PATCH] Disable LTO --- openjdk-21.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/openjdk-21.spec b/openjdk-21.spec index d8fc046..9afbc96 100644 --- a/openjdk-21.spec +++ b/openjdk-21.spec @@ -21,6 +21,8 @@ %bcond_without slowdebug # 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. @@ -897,7 +899,7 @@ Name: java-21-%{origin} Version: %{newjavaver}.%{buildver} # This package needs `.rolling` as part of Release so as to not conflict on install with # java-X-openjdk. I.e. when latest rolling release is also an LTS release packaged as -Release: 2 +Release: 3 # 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 @@ -1872,6 +1874,9 @@ cjc.mainProgram(args) -- the returns from copy_jdk_configs.lua should not affect %changelog +* Thu Dec 2024 kuenking111 - 1:21.0.5.11-3 +- disable LTO + * Mon Nov 11 2024 Dingli Zhang - 1:21.0.5.11-2 - Remove redundant patch to fix ci check -- Gitee