diff --git a/openjdk-21.spec b/openjdk-21.spec index d8fc0463e3460a79f118c8ea00f2d02eaabe23dc..9afbc96c91d4759527b423f1aad3daaf8ae20102 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